Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007636/0.007636, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 252 MB / 0.5105 GB, free: 4.66 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006105/0.0006107, allocations: 12 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5121, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001389/0.5135, allocations: 1.006 MB / 0.7297 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1527/0.6662, allocations: 143.2 MB / 0.8695 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.6663, allocations: 0 / 0.8695 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.6664, allocations: 11.98 kB / 0.8695 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.6664, allocations: 3.938 kB / 0.8695 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.6669, allocations: 75.7 kB / 0.8696 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.667, allocations: 39.78 kB / 0.8696 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.667, allocations: 3.984 kB / 0.8696 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.6671, allocations: 12 kB / 0.8697 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.6671, allocations: 15.92 kB / 0.8697 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.6671, allocations: 4 kB / 0.8697 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.6674, allocations: 79.81 kB / 0.8697 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.6675, allocations: 4 kB / 0.8698 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.6675, allocations: 41.62 kB / 0.8698 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.6677, allocations: 65.84 kB / 0.8699 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6677, allocations: 4 kB / 0.8699 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6677, allocations: 0 / 0.8699 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.6677, allocations: 0 / 0.8699 GB, free: 10.16 MB / 0.6856 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.0004375/0.6682, allocations: 335.5 kB / 0.8702 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.6682, allocations: 12.03 kB / 0.8702 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.6684, allocations: 12.92 kB / 0.8702 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.6685, allocations: 164.3 kB / 0.8704 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.6686, allocations: 7.938 kB / 0.8704 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.6686, allocations: 11.91 kB / 0.8704 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.6687, allocations: 57.59 kB / 0.8704 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.6687, allocations: 3.938 kB / 0.8704 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.6688, allocations: 4 kB / 0.8704 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.6688, allocations: 0 / 0.8704 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.426e-05/0.6688, allocations: 15.98 kB / 0.8705 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.669, allocations: 169.6 kB / 0.8706 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 8.357e-05/0.6691, allocations: 58.44 kB / 0.8707 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.6692, allocations: 16.84 kB / 0.8707 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.6692, allocations: 0 / 0.8707 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.6692, allocations: 34.56 kB / 0.8707 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.6692, allocations: 4 kB / 0.8707 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0007205/0.6699, allocations: 366.3 kB / 0.8711 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.67, allocations: 51.41 kB / 0.8711 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.6701, allocations: 101.8 kB / 0.8712 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.6701, allocations: 25.7 kB / 0.8712 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.6701, allocations: 80.14 kB / 0.8713 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.6702, allocations: 47.56 kB / 0.8714 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.6702, allocations: 17.72 kB / 0.8714 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.6703, allocations: 322.8 kB / 0.8717 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.6703, allocations: 12 kB / 0.8717 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.897e-05/0.6704, allocations: 41.64 kB / 0.8717 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.6705, allocations: 57.7 kB / 0.8718 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6705, allocations: 0 / 0.8718 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001325/0.6706, allocations: 94.16 kB / 0.8719 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6707, allocations: 12 kB / 0.8719 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6707, allocations: 7.938 kB / 0.8719 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.6707, allocations: 0 / 0.8719 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.6708, allocations: 23.98 kB / 0.8719 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6708, allocations: 4.141 kB / 0.8719 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.6709, allocations: 4 kB / 0.8719 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.6709, allocations: 4 kB / 0.8719 GB, free: 7.75 MB / 0.6856 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 8.884e-05/0.671, allocations: 121.7 kB / 0.8721 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.671, allocations: 7.906 kB / 0.8721 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.671, allocations: 15.95 kB / 0.8721 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.671, allocations: 0 / 0.8721 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.6711, allocations: 0 / 0.8721 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6711, allocations: 3.984 kB / 0.8721 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.6712, allocations: 173.6 kB / 0.8723 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.6712, allocations: 0 / 0.8723 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.6713, allocations: 19.98 kB / 0.8723 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6713, allocations: 4 kB / 0.8723 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.6714, allocations: 0 / 0.8723 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6714, allocations: 0 / 0.8723 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6714, allocations: 7.938 kB / 0.8723 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.6716, allocations: 144.8 kB / 0.8724 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.6717, allocations: 81.11 kB / 0.8725 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.6717, allocations: 0 / 0.8725 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.6718, allocations: 12.03 kB / 0.8725 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.6718, allocations: 0 / 0.8725 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.6718, allocations: 4 kB / 0.8725 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.6719, allocations: 79.28 kB / 0.8726 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6719, allocations: 0 / 0.8726 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002014/0.6721, allocations: 23.94 kB / 0.8726 GB, free: 6.965 MB / 0.6856 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 0.0001103/0.6722, allocations: 103.2 kB / 0.8727 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.6723, allocations: 55.91 kB / 0.8728 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6723, allocations: 0 / 0.8728 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.861e-05/0.6724, allocations: 36.14 kB / 0.8728 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.6726, allocations: 12.16 kB / 0.8728 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.6732, allocations: 390.5 kB / 0.8732 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.6734, allocations: 0.6848 MB / 0.8738 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.869e-05/0.6735, allocations: 12.66 kB / 0.8739 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.6735, allocations: 11.44 kB / 0.8739 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of SimCode: time 2.41e-07/0.6735, allocations: 0 / 0.8739 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of Templates: time 0.002672/0.6762, allocations: 0.6106 MB / 0.8745 GB, free: 5.012 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: