Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009834/0.0009834, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001097/0.001097, allocations: 169.3 kB / 23.02 MB, free: 1.551 MB / 18.57 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.057/1.057, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001696/0.001696, allocations: 233.2 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7603/0.7603, allocations: 138.4 MB / 455.2 MB, free: 1.559 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5552 GB, free: 472 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.286e-05, allocations: 2.312 kB / 0.5552 GB, free: 468 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002385/0.002418, allocations: 0.8 MB / 0.556 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.004649, allocations: 1.497 MB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.004691, allocations: 0 / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.00473, allocations: 11.92 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.004782, allocations: 0 / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.005498, allocations: 151.3 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.005607, allocations: 47.89 kB / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.00566, allocations: 11.98 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.005778, allocations: 39.89 kB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.005844, allocations: 23.95 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.005867, allocations: 4 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.006304, allocations: 251.5 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.006332, allocations: 15.98 kB / 0.558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.006369, allocations: 19.91 kB / 0.558 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.006776, allocations: 219.4 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006779, allocations: 0 / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.00678, allocations: 0 / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.006786, allocations: 3.938 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB 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.0006086/0.007395, allocations: 424.1 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.007443, allocations: 12.75 kB / 0.5586 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.007814, allocations: 56.83 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.007922, allocations: 112.6 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.00795, allocations: 4.375 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.007997, allocations: 12.33 kB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.008332, allocations: 162.2 kB / 0.5589 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.008346, allocations: 192 / 0.5589 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.008363, allocations: 384 / 0.5589 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.008373, allocations: 7.938 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.008484, allocations: 27.98 kB / 0.559 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.00907, allocations: 319.6 kB / 0.5593 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.00931, allocations: 90.89 kB / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.009367, allocations: 27.67 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.009387, allocations: 0 / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.009418, allocations: 37.39 kB / 0.5594 GB, free: 11.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.00942, allocations: 0 / 0.5594 GB, free: 11.95 MB / 490.7 MB 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.01216/0.02158, allocations: 1.99 MB / 0.5614 GB, free: 9.895 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.02162, allocations: 51.41 kB / 0.5614 GB, free: 9.832 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.02172, allocations: 165.9 kB / 0.5616 GB, free: 9.652 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.02177, allocations: 29.7 kB / 0.5616 GB, free: 9.617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.02183, allocations: 130.9 kB / 0.5617 GB, free: 9.484 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/0.02191, allocations: 47.78 kB / 0.5618 GB, free: 9.438 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.02208, allocations: 75.23 kB / 0.5619 GB, free: 9.355 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.02224, allocations: 0.4883 MB / 0.5623 GB, free: 8.855 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.02256, allocations: 143.9 kB / 0.5625 GB, free: 8.715 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.02287, allocations: 147.8 kB / 0.5626 GB, free: 8.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.02353, allocations: 291.1 kB / 0.5629 GB, free: 8.285 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02353, allocations: 0 / 0.5629 GB, free: 8.285 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009468/0.02448, allocations: 385.5 kB / 0.5633 GB, free: 7.902 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.0245, allocations: 8 kB / 0.5633 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.02451, allocations: 0 / 0.5633 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.02453, allocations: 0 / 0.5633 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.02517, allocations: 91.75 kB / 0.5633 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.02518, allocations: 3.938 kB / 0.5634 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.02556, allocations: 31.97 kB / 0.5634 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/0.02562, allocations: 27.92 kB / 0.5634 GB, free: 7.742 MB / 490.7 MB 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.0001551/0.02578, allocations: 164.5 kB / 0.5636 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.02589, allocations: 4 kB / 0.5636 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.02594, allocations: 12.12 kB / 0.5636 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.02595, allocations: 4 kB / 0.5636 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.02595, allocations: 0 / 0.5636 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02596, allocations: 4 kB / 0.5636 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.02748, allocations: 0.8902 MB / 0.5645 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.02748, allocations: 0 / 0.5645 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.02805, allocations: 91.81 kB / 0.5645 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.02805, allocations: 3.938 kB / 0.5645 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.02811, allocations: 19.94 kB / 0.5646 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.02811, allocations: 8 kB / 0.5646 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02811, allocations: 0 / 0.5646 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.02939, allocations: 0.6478 MB / 0.5652 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.02955, allocations: 39.91 kB / 0.5652 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.0296, allocations: 0 / 0.5652 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.03004, allocations: 31.95 kB / 0.5653 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.03013, allocations: 27.95 kB / 0.5653 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.03021, allocations: 35.86 kB / 0.5653 GB, free: 5.641 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.199e-05/0.03026, allocations: 119.2 kB / 0.5655 GB, free: 5.523 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03026, allocations: 4 kB / 0.5655 GB, free: 5.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004166/0.03067, allocations: 51.94 kB / 0.5655 GB, free: 5.469 MB / 490.7 MB 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.0002432/0.03092, allocations: 119.1 kB / 0.5656 GB, free: 5.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007433/0.03166, allocations: 331.3 kB / 0.5659 GB, free: 5.012 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.03167, allocations: 8 kB / 0.5659 GB, free: 5.004 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.03202, allocations: 179.5 kB / 0.5661 GB, free: 4.824 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.03238, allocations: 43.92 kB / 0.5662 GB, free: 4.781 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.0352, allocations: 0.6175 MB / 0.5668 GB, free: 4.137 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.03525, allocations: 67.28 kB / 0.5668 GB, free: 4.051 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.03571, allocations: 92.73 kB / 0.5669 GB, free: 3.961 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.03597, allocations: 56.36 kB / 0.567 GB, free: 3.906 MB / 490.7 MB Notification: Performance of SimCode: time 1.492e-06/0.03598, allocations: 0 / 0.567 GB, free: 3.906 MB / 490.7 MB Notification: Performance of Templates: time 0.006715/0.04269, allocations: 3.773 MB / 0.5707 GB, free: 152 kB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.928415737580508]