Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.032/3.032, allocations: 0.5003 GB / 0.8026 GB, free: 6.891 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 63.91 kB / 1.165 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9288/0.9309, allocations: 178.9 MB / 1.34 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002443/0.9333, allocations: 0.8038 MB / 1.341 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.9359, allocations: 1.532 MB / 1.342 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.9359, allocations: 1.25 kB / 1.342 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.936, allocations: 3.938 kB / 1.342 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.753e-05/0.936, allocations: 0 / 1.342 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.9367, allocations: 146.7 kB / 1.343 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.9368, allocations: 59.11 kB / 1.343 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.9368, allocations: 6.344 kB / 1.343 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.9369, allocations: 23.14 kB / 1.343 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.937, allocations: 37.81 kB / 1.343 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.937, allocations: 9.406 kB / 1.343 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.9376, allocations: 313.6 kB / 1.343 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.9376, allocations: 19.44 kB / 1.343 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.9376, allocations: 25.36 kB / 1.343 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.9381, allocations: 214.1 kB / 1.343 GB, free: 11.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9381, allocations: 4 kB / 1.343 GB, free: 11.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9381, allocations: 0 / 1.343 GB, free: 11.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.9381, allocations: 0 / 1.343 GB, free: 11.43 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007961/0.9389, allocations: 410.7 kB / 1.344 GB, free: 11.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.9389, allocations: 13.09 kB / 1.344 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.9389, allocations: 2.469 kB / 1.344 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.939, allocations: 36.22 kB / 1.344 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004668/0.9394, allocations: 69.19 kB / 1.344 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.9396, allocations: 170.7 kB / 1.344 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.9396, allocations: 7.812 kB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.9396, allocations: 4.438 kB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.9401, allocations: 118.4 kB / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.9401, allocations: 0 / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.9401, allocations: 1.125 kB / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9401, allocations: 5.188 kB / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.9406, allocations: 107.3 kB / 1.344 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.9412, allocations: 334.3 kB / 1.345 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.9419, allocations: 157.8 kB / 1.345 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.9422, allocations: 53.34 kB / 1.345 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.9422, allocations: 1.188 kB / 1.345 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.9422, allocations: 35.66 kB / 1.345 GB, free: 10.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.9422, allocations: 3.938 kB / 1.345 GB, free: 10.11 MB / 1.029 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01922/0.9615, allocations: 2.829 MB / 1.348 GB, free: 8.426 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.9615, allocations: 57.72 kB / 1.348 GB, free: 8.359 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.9616, allocations: 102.8 kB / 1.348 GB, free: 8.254 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.9617, allocations: 26.86 kB / 1.348 GB, free: 8.223 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.9617, allocations: 89.33 kB / 1.348 GB, free: 8.133 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.938e-05/0.9618, allocations: 48.47 kB / 1.348 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.962, allocations: 69.02 kB / 1.348 GB, free: 8.031 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9622, allocations: 320 kB / 1.348 GB, free: 7.711 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007523/0.9629, allocations: 193.9 kB / 1.348 GB, free: 7.617 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.9636, allocations: 193.5 kB / 1.349 GB, free: 7.523 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.9651, allocations: 391.6 kB / 1.349 GB, free: 7.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9651, allocations: 0 / 1.349 GB, free: 7.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001714/0.9668, allocations: 481.1 kB / 1.349 GB, free: 7.074 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.9668, allocations: 5.875 kB / 1.349 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.9669, allocations: 0 / 1.349 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.9669, allocations: 5 kB / 1.349 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008534/0.9677, allocations: 113.3 kB / 1.35 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.9677, allocations: 1.094 kB / 1.35 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.9684, allocations: 50.09 kB / 1.35 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.9684, allocations: 25.97 kB / 1.35 GB, free: 6.965 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.9686, allocations: 113.3 kB / 1.35 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.9687, allocations: 2.469 kB / 1.35 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.9688, allocations: 17.42 kB / 1.35 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.9688, allocations: 4.938 kB / 1.35 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.9688, allocations: 1.469 kB / 1.35 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9688, allocations: 4 kB / 1.35 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.9713, allocations: 1.047 MB / 1.351 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.9713, allocations: 9.062 kB / 1.351 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/0.9721, allocations: 109.4 kB / 1.351 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.9721, allocations: 0 / 1.351 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.9722, allocations: 21.56 kB / 1.351 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9722, allocations: 0 / 1.351 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.9722, allocations: 0 / 1.351 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.9747, allocations: 0.7953 MB / 1.352 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.9749, allocations: 119.5 kB / 1.352 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.9749, allocations: 1.469 kB / 1.352 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.9756, allocations: 49.97 kB / 1.352 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.9758, allocations: 30.61 kB / 1.352 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.9758, allocations: 22.75 kB / 1.352 GB, free: 5.164 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.9759, allocations: 89.91 kB / 1.352 GB, free: 5.078 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.9759, allocations: 1.344 kB / 1.352 GB, free: 5.078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004136/0.9763, allocations: 50.5 kB / 1.352 GB, free: 5.074 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002973/0.9793, allocations: 1.347 MB / 1.353 GB, free: 4.051 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.9808, allocations: 421.2 kB / 1.354 GB, free: 3.844 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9809, allocations: 0 / 1.354 GB, free: 3.844 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007813/0.9816, allocations: 219.8 kB / 1.354 GB, free: 3.734 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.982, allocations: 13.73 kB / 1.354 GB, free: 3.727 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009553/0.9916, allocations: 2.94 MB / 1.357 GB, free: 1.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.9919, allocations: 0.6901 MB / 1.357 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004958/0.9924, allocations: 92.03 kB / 1.358 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.9927, allocations: 67.11 kB / 1.358 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/0.9927, allocations: 0 / 1.358 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/1.019, allocations: 4.649 MB / 1.362 GB, free: 13.19 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.784/9.803, allocations: 11.17 kB / 1.362 GB, free: 13.18 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.412758931983262] Failed to read output from testmodel.py, exit status != 0: 9.933662425959483 9.954744527 9.013626705 Calling exit ...