Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001742/0.001742, 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.001976/0.001976, allocations: 215.9 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.881/2.881, allocations: 476 MB / 0.7707 GB, free: 4.922 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.00215/0.00215, allocations: 66.28 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3607, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002304/0.363, allocations: 0.7808 MB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.3652, allocations: 1.452 MB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.3652, allocations: 0 / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.3652, allocations: 7.938 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.3653, allocations: 7.938 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.3658, allocations: 147.4 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3659, allocations: 47.95 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.366, allocations: 11.94 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.804e-05/0.366, allocations: 27.91 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.3661, allocations: 31.84 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.3661, allocations: 4 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.3666, allocations: 247.5 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.3666, allocations: 11.98 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.3666, allocations: 27.84 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.367, allocations: 195.4 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.367, allocations: 0 / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.486e-06/0.367, allocations: 4 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.367, allocations: 7.984 kB / 1.287 GB, free: 8.918 MB / 0.9825 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.0006881/0.3677, allocations: 331.5 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3677, allocations: 8.031 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004617/0.3682, allocations: 72.8 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3683, allocations: 114.4 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.3683, allocations: 4.375 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3683, allocations: 8.375 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.3688, allocations: 164.6 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3688, allocations: 0 / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3688, allocations: 4 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3688, allocations: 4 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.3693, allocations: 99.89 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.3699, allocations: 276.3 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.3706, allocations: 158.4 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.3708, allocations: 48.81 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.3709, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3709, allocations: 38.56 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3709, allocations: 3.938 kB / 1.288 GB, free: 7.492 MB / 0.9825 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.01841/0.3893, allocations: 2.688 MB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.3894, allocations: 51.41 kB / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3895, allocations: 109.8 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.3895, allocations: 33.7 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.3896, allocations: 84.09 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.3897, allocations: 39.64 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.3898, allocations: 69.67 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.39, allocations: 326.8 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.3907, allocations: 187.8 kB / 1.292 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006888/0.3914, allocations: 199.8 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.3928, allocations: 392.7 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3928, allocations: 0 / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001608/0.3944, allocations: 477.1 kB / 1.293 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3944, allocations: 4 kB / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.3944, allocations: 0 / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3944, allocations: 0 / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.3953, allocations: 111.8 kB / 1.293 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3953, allocations: 0 / 1.293 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.3959, allocations: 51.88 kB / 1.293 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/0.3959, allocations: 23.94 kB / 1.293 GB, free: 2.574 MB / 0.9825 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.0001643/0.3961, allocations: 117.8 kB / 1.293 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.3962, allocations: 7.953 kB / 1.293 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/0.3962, allocations: 12.06 kB / 1.293 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3962, allocations: 3.984 kB / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3963, allocations: 0 / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3963, allocations: 7.938 kB / 1.293 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.3986, allocations: 0.9529 MB / 1.294 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3986, allocations: 0 / 1.294 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.3994, allocations: 115.7 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3994, allocations: 0 / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.3995, allocations: 23.94 kB / 1.294 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3995, allocations: 3.938 kB / 1.294 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3995, allocations: 0 / 1.294 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.402, allocations: 0.7971 MB / 1.295 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.4022, allocations: 39.89 kB / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.4022, allocations: 0 / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/0.4029, allocations: 47.88 kB / 1.295 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.403, allocations: 43.91 kB / 1.295 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.4031, allocations: 19.94 kB / 1.295 GB, free: 276 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.4031, allocations: 79.28 kB / 1.295 GB, free: 196 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4031, allocations: 0 / 1.295 GB, free: 196 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003874/0.4035, allocations: 55.94 kB / 1.295 GB, free: 140 kB / 0.9825 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.0002239/0.4037, allocations: 111.2 kB / 1.295 GB, free: 20 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.4053, allocations: 419.5 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4053, allocations: 0 / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007556/0.4061, allocations: 219.7 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.4065, allocations: 15.92 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.4108, allocations: 0.7922 MB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.116e-05/0.4109, allocations: 87.33 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.4112, allocations: 79.17 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.4112, allocations: 0 / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of Templates: time 0.006463/0.4177, allocations: 3.796 MB / 1.3 GB, free: 10.57 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.948841636069119] Failed to read output from testmodel.py, exit status != 0: 1.0925691397860646 0.441922219 0.071535927 Calling exit ...