Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 114.4 kB / 17.08 MB, free: 5.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 193.2 kB / 20.03 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.89 kB / 1.103 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8705/0.8725, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001575/0.8741, allocations: 0.6189 MB / 1.263 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.8757, allocations: 1.444 MB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.8758, allocations: 1 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.8758, allocations: 3.938 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.515e-05/0.8758, allocations: 0 / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.8763, allocations: 144.7 kB / 1.265 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.279e-05/0.8764, allocations: 26.44 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.8764, allocations: 2.281 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.8765, allocations: 21.95 kB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.508e-05/0.8766, allocations: 27.06 kB / 1.265 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.8766, allocations: 5.5 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.8771, allocations: 310.8 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.8771, allocations: 9.547 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.8772, allocations: 18.02 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.8775, allocations: 194 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8775, allocations: 0.8125 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8775, allocations: 0 / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8775, allocations: 0 / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004496/0.878, allocations: 365.2 kB / 1.266 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.878, allocations: 12.78 kB / 1.266 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.8785, allocations: 67.38 kB / 1.266 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.883e-05/0.8785, allocations: 170.8 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.8786, allocations: 1 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.8786, allocations: 2.281 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.8788, allocations: 80 kB / 1.266 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.8789, allocations: 4.781 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.8789, allocations: 0 / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.8789, allocations: 0.6562 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.8792, allocations: 73.69 kB / 1.266 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.8793, allocations: 163.5 kB / 1.266 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.88, allocations: 122.3 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.8801, allocations: 50.28 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004531/0.8806, allocations: 151.3 kB / 1.267 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.8806, allocations: 35.83 kB / 1.267 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8806, allocations: 0.9062 kB / 1.267 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.001133/0.8818, allocations: 402.4 kB / 1.267 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.8818, allocations: 56 kB / 1.267 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.374e-05/0.8818, allocations: 102.7 kB / 1.267 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.8819, allocations: 30.55 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.079e-05/0.8819, allocations: 80.14 kB / 1.267 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.8819, allocations: 16.02 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.882, allocations: 21.7 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.882, allocations: 316.9 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.8822, allocations: 38.06 kB / 1.268 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.8823, allocations: 35.7 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.8826, allocations: 75.33 kB / 1.268 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.8826, allocations: 0 / 1.268 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003577/0.883, allocations: 119.2 kB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.883, allocations: 6.25 kB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.883, allocations: 0 / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8831, allocations: 0.75 kB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.8832, allocations: 30.55 kB / 1.268 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8832, allocations: 0.8438 kB / 1.268 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.8833, allocations: 11.61 kB / 1.268 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.8833, allocations: 3.234 kB / 1.268 GB, free: 4.285 MB / 0.9981 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 (6): * Single equations (assignments): 6 * 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 4.872e-05/0.8834, allocations: 115.1 kB / 1.268 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.8834, allocations: 10.89 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.8839, allocations: 128.5 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.8839, allocations: 1.609 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.8839, allocations: 8 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.8839, allocations: 1.219 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.884, allocations: 170.5 kB / 1.268 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.884, allocations: 0.7031 kB / 1.268 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.8842, allocations: 26.61 kB / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8842, allocations: 0.875 kB / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.8842, allocations: 1.266 kB / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8842, allocations: 0.75 kB / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8842, allocations: 5.375 kB / 1.268 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.8848, allocations: 184.9 kB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.8848, allocations: 92.66 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.8849, allocations: 1.062 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.885, allocations: 12.16 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.885, allocations: 12.48 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.885, allocations: 3.359 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.838e-05/0.8851, allocations: 81.73 kB / 1.269 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8851, allocations: 0 / 1.269 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002519/0.8853, allocations: 34.06 kB / 1.269 GB, free: 3.602 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001949/0.8855, allocations: 128.9 kB / 1.269 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.8859, allocations: 86.11 kB / 1.269 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8859, allocations: 0.875 kB / 1.269 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.8861, allocations: 49.39 kB / 1.269 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.8863, allocations: 3.969 kB / 1.269 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.8869, allocations: 209.6 kB / 1.269 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.86e-05/0.887, allocations: 0.6832 MB / 1.27 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.887, allocations: 13.09 kB / 1.27 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.887, allocations: 0 / 1.27 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of Templates: time 0.002977/0.89, allocations: 1.131 MB / 1.271 GB, free: 2.516 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 10.728823338169605] Failed to read output from testmodel.py, exit status != 0: 0.8967075208202004 0.908161277 0.028123542 Calling exit ...