Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.0008986/0.0008986, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.000925/0.000925, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 0.96/0.96, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.956/1.956, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 1.094 kB / 0.7751 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.72e-05, allocations: 10.25 kB / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002597/0.002624, allocations: 1.377 MB / 0.7765 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1528/0.1554, allocations: 142.2 MB / 0.9154 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.1554, allocations: 0 / 0.9154 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.1555, allocations: 7.922 kB / 0.9154 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.1555, allocations: 3.938 kB / 0.9154 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1559, allocations: 99.44 kB / 0.9155 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.156, allocations: 35.84 kB / 0.9155 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.156, allocations: 0 / 0.9155 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.1561, allocations: 23.97 kB / 0.9155 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.1561, allocations: 11.97 kB / 0.9155 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1561, allocations: 4 kB / 0.9155 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.1563, allocations: 79.77 kB / 0.9156 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1564, allocations: 7.922 kB / 0.9156 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.1564, allocations: 15.98 kB / 0.9156 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1565, allocations: 67.81 kB / 0.9157 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1565, allocations: 4 kB / 0.9157 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1565, allocations: 0 / 0.9157 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1565, allocations: 0 / 0.9157 GB, free: 5.094 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002894/0.1568, allocations: 260.8 kB / 0.916 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1568, allocations: 9.344 kB / 0.916 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.157, allocations: 24.81 kB / 0.916 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.1571, allocations: 113.7 kB / 0.9161 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1571, allocations: 4.375 kB / 0.9161 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.1571, allocations: 4.375 kB / 0.9161 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.1572, allocations: 134.7 kB / 0.9162 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1573, allocations: 0 / 0.9162 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.1573, allocations: 0 / 0.9162 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1573, allocations: 4 kB / 0.9162 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.1573, allocations: 11.98 kB / 0.9163 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.037e-05/0.1574, allocations: 61.05 kB / 0.9163 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.773e-05/0.1574, allocations: 54.55 kB / 0.9164 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.1575, allocations: 8.859 kB / 0.9164 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1575, allocations: 4 kB / 0.9164 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1575, allocations: 30.56 kB / 0.9164 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1575, allocations: 4 kB / 0.9164 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0006235/0.1581, allocations: 325 kB / 0.9167 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1581, allocations: 51.41 kB / 0.9168 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.1582, allocations: 98.7 kB / 0.9169 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1582, allocations: 33.7 kB / 0.9169 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.1582, allocations: 80.14 kB / 0.917 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1583, allocations: 39.67 kB / 0.917 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1583, allocations: 29.7 kB / 0.917 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.1584, allocations: 318.8 kB / 0.9173 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.1584, allocations: 8 kB / 0.9174 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.1584, allocations: 29.69 kB / 0.9174 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.347e-05/0.1585, allocations: 53.73 kB / 0.9174 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1585, allocations: 0 / 0.9174 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.98e-05/0.1586, allocations: 66.16 kB / 0.9175 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1586, allocations: 9.719 kB / 0.9175 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1586, allocations: 0 / 0.9175 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1586, allocations: 0 / 0.9175 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/0.1617, allocations: 27.92 kB / 0.9175 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.1617, allocations: 160 / 0.9175 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.1617, allocations: 8 kB / 0.9175 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.1617, allocations: 7.969 kB / 0.9175 GB, free: 3.012 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 6.29e-05/0.1618, allocations: 117.8 kB / 0.9177 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.1618, allocations: 7.938 kB / 0.9177 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.1618, allocations: 11.97 kB / 0.9177 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1618, allocations: 4 kB / 0.9177 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1618, allocations: 0 / 0.9177 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.1618, allocations: 3.984 kB / 0.9177 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.264e-05/0.1619, allocations: 73.89 kB / 0.9178 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1619, allocations: 8 kB / 0.9178 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.162, allocations: 23.92 kB / 0.9178 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.162, allocations: 4 kB / 0.9178 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.162, allocations: 0 / 0.9178 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.162, allocations: 7.938 kB / 0.9178 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.162, allocations: 3.938 kB / 0.9178 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1622, allocations: 105 kB / 0.9179 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.1622, allocations: 4 kB / 0.9179 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1622, allocations: 3.984 kB / 0.9179 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.1622, allocations: 11.94 kB / 0.9179 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.1623, allocations: 7.922 kB / 0.9179 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1623, allocations: 4 kB / 0.9179 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.115e-06/0.1623, allocations: 4.859 kB / 0.9179 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1623, allocations: 0 / 0.9179 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001598/0.1624, allocations: 24.09 kB / 0.918 GB, free: 2.535 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 8.889e-05/0.1625, allocations: 80.42 kB / 0.918 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.302e-05/0.1626, allocations: 44.72 kB / 0.9181 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1626, allocations: 4 kB / 0.9181 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.1626, allocations: 24.84 kB / 0.9181 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1628, allocations: 15.98 kB / 0.9181 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.1633, allocations: 236.6 kB / 0.9183 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.498e-05/0.1633, allocations: 63.28 kB / 0.9184 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.987e-05/0.1633, allocations: 12.72 kB / 0.9184 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.1634, allocations: 71.38 kB / 0.9185 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of SimCode: time 9.11e-07/0.1634, allocations: 0 / 0.9185 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of Templates: time 0.009364/0.1728, allocations: 0.9393 MB / 0.9194 GB, free: 1.02 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.193611093331128]