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.001357/0.001357, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001465/0.001465, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.293/3.293, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.00211/0.00211, allocations: 62.75 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3938, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002463/0.3963, allocations: 0.7917 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.3986, allocations: 1.452 MB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.3987, allocations: 4 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.3987, allocations: 3.938 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.3988, allocations: 3.938 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.3994, allocations: 150.1 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.3995, allocations: 39.97 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.3996, allocations: 7.938 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3997, allocations: 31.91 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.3997, allocations: 31.84 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.3998, allocations: 4 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.4002, allocations: 251.5 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.4002, allocations: 15.98 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.4003, allocations: 23.86 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.4006, allocations: 199.4 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4006, allocations: 0 / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4007, allocations: 0 / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.4007, allocations: 3.938 kB / 1.368 GB, free: 10.55 MB / 1.061 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.0007074/0.4014, allocations: 327.2 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4014, allocations: 12.03 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004541/0.4019, allocations: 72.8 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.402, allocations: 114.4 kB / 1.368 GB, free: 9.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.402, allocations: 8.375 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.402, allocations: 8.312 kB / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.4025, allocations: 165.3 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4025, allocations: 4 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.4025, allocations: 0 / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.4025, allocations: 4 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.403, allocations: 103.9 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.4036, allocations: 268.3 kB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.4042, allocations: 154.4 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.4045, allocations: 56.81 kB / 1.369 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.4045, allocations: 4 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4045, allocations: 30.56 kB / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4045, allocations: 3.938 kB / 1.369 GB, free: 9.117 MB / 1.061 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.01761/0.4221, allocations: 2.688 MB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4222, allocations: 51.41 kB / 1.372 GB, free: 6.309 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4223, allocations: 105.8 kB / 1.372 GB, free: 6.195 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.4223, allocations: 33.7 kB / 1.372 GB, free: 6.156 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.4224, allocations: 84.09 kB / 1.372 GB, free: 6.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.709e-05/0.4225, allocations: 43.69 kB / 1.372 GB, free: 6.027 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.4227, allocations: 65.58 kB / 1.372 GB, free: 5.957 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4228, allocations: 318.8 kB / 1.372 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006829/0.4235, allocations: 191.8 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/0.4242, allocations: 191.8 kB / 1.373 GB, free: 5.262 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.4255, allocations: 391.2 kB / 1.373 GB, free: 4.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4255, allocations: 0 / 1.373 GB, free: 4.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001606/0.4271, allocations: 485.2 kB / 1.373 GB, free: 4.398 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4271, allocations: 4 kB / 1.373 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4271, allocations: 0 / 1.373 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4272, allocations: 0 / 1.373 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/0.428, allocations: 115.8 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.428, allocations: 3.938 kB / 1.373 GB, free: 4.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/0.4286, allocations: 47.88 kB / 1.374 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.4286, allocations: 19.94 kB / 1.374 GB, free: 4.211 MB / 1.061 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.0001835/0.4288, allocations: 121.8 kB / 1.374 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.4289, allocations: 7.953 kB / 1.374 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.429, allocations: 16.05 kB / 1.374 GB, free: 4.051 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.429, allocations: 4 kB / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.429, allocations: 0 / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.429, allocations: 4.031 kB / 1.374 GB, free: 4.043 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.4313, allocations: 0.9568 MB / 1.375 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4313, allocations: 8 kB / 1.375 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/0.4321, allocations: 103.7 kB / 1.375 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4321, allocations: 3.938 kB / 1.375 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.4321, allocations: 19.94 kB / 1.375 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.4321, allocations: 11.94 kB / 1.375 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4322, allocations: 0 / 1.375 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.4346, allocations: 0.788 MB / 1.376 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.4348, allocations: 39.89 kB / 1.376 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/0.4348, allocations: 4.062 kB / 1.376 GB, free: 2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.4355, allocations: 55.86 kB / 1.376 GB, free: 1.945 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.4356, allocations: 31.86 kB / 1.376 GB, free: 1.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.4356, allocations: 19.94 kB / 1.376 GB, free: 1.895 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.058e-05/0.4357, allocations: 83.47 kB / 1.376 GB, free: 1.812 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4357, allocations: 4 kB / 1.376 GB, free: 1.809 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003707/0.436, allocations: 55.92 kB / 1.376 GB, free: 1.754 MB / 1.061 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.0002097/0.4363, allocations: 111.3 kB / 1.376 GB, free: 1.637 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.4377, allocations: 419.5 kB / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.4378, allocations: 0 / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.4385, allocations: 223.7 kB / 1.377 GB, free: 1.008 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.4389, allocations: 11.98 kB / 1.377 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.4431, allocations: 0.7806 MB / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.4432, allocations: 75.33 kB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.4436, allocations: 83.17 kB / 1.377 GB, free: 8 kB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.4436, allocations: 4 kB / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of Templates: time 0.006828/0.4504, allocations: 3.795 MB / 1.381 GB, free: 12.2 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 11.450072400271893] Failed to read output from testmodel.py, exit status != 0: 0.45907550072297454 0.474410082 0.070514171 Calling exit ...