Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 288.4 MB / 303.4 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 178.8 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007419/0.000742, allocations: 105.1 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003959, allocations: 10.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.187, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00108/0.1881, allocations: 0.9862 MB / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5881/0.7762, allocations: 133.5 MB / 1.111 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.7763, allocations: 5.375 kB / 1.111 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.7763, allocations: 3.938 kB / 1.111 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.7764, allocations: 3.203 kB / 1.111 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.7767, allocations: 78.3 kB / 1.111 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.7768, allocations: 29.66 kB / 1.111 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.785e-05/0.7769, allocations: 2.125 kB / 1.111 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.7769, allocations: 17.52 kB / 1.111 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.777, allocations: 17.2 kB / 1.111 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.777, allocations: 2.438 kB / 1.111 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.7772, allocations: 72.66 kB / 1.111 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.7773, allocations: 12.31 kB / 1.111 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.919e-05/0.7774, allocations: 29.45 kB / 1.111 GB, free: 18.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.7775, allocations: 46.61 kB / 1.111 GB, free: 18.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7775, allocations: 1.125 kB / 1.111 GB, free: 18.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7775, allocations: 0 / 1.111 GB, free: 18.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.7775, allocations: 0 / 1.111 GB, free: 18.52 MB / 0.698 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.0003869/0.7779, allocations: 339.2 kB / 1.112 GB, free: 18.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.778, allocations: 13.84 kB / 1.112 GB, free: 18.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.7782, allocations: 18.69 kB / 1.112 GB, free: 18.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.315e-05/0.7783, allocations: 166.6 kB / 1.112 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.7783, allocations: 4.406 kB / 1.112 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.7783, allocations: 3.375 kB / 1.112 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.7784, allocations: 57.28 kB / 1.112 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.7785, allocations: 0 / 1.112 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.7785, allocations: 1.125 kB / 1.112 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.7785, allocations: 1.062 kB / 1.112 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.7786, allocations: 23.66 kB / 1.112 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.7787, allocations: 161.9 kB / 1.112 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.534e-05/0.7788, allocations: 48.22 kB / 1.112 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.7789, allocations: 22.38 kB / 1.112 GB, free: 17.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.7789, allocations: 1.094 kB / 1.112 GB, free: 17.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.7789, allocations: 32.55 kB / 1.112 GB, free: 17.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.7789, allocations: 4 kB / 1.112 GB, free: 17.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007951/0.7797, allocations: 381.1 kB / 1.112 GB, free: 17.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.7798, allocations: 57.67 kB / 1.112 GB, free: 17.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.7798, allocations: 95.61 kB / 1.113 GB, free: 17.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.7799, allocations: 30.83 kB / 1.113 GB, free: 17.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.7799, allocations: 80.27 kB / 1.113 GB, free: 17.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.7799, allocations: 44.08 kB / 1.113 GB, free: 17.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.78, allocations: 1.281 kB / 1.113 GB, free: 17.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7801, allocations: 317.5 kB / 1.113 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.7801, allocations: 15.5 kB / 1.113 GB, free: 16.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.7802, allocations: 42.94 kB / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.7802, allocations: 21.72 kB / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.7802, allocations: 0 / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001346/0.7804, allocations: 93.22 kB / 1.113 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.7804, allocations: 9.344 kB / 1.113 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.7804, allocations: 0 / 1.113 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.7804, allocations: 2.109 kB / 1.113 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.7805, allocations: 24.34 kB / 1.113 GB, free: 16.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.7806, allocations: 5.688 kB / 1.113 GB, free: 16.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.7806, allocations: 5.312 kB / 1.113 GB, free: 16.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.7806, allocations: 3.219 kB / 1.113 GB, free: 16.69 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.7807, allocations: 113 kB / 1.113 GB, free: 16.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.7807, allocations: 3.172 kB / 1.113 GB, free: 16.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.7808, allocations: 17.23 kB / 1.113 GB, free: 16.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7808, allocations: 1.031 kB / 1.113 GB, free: 16.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7808, allocations: 5.031 kB / 1.113 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.7808, allocations: 4.703 kB / 1.113 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.7809, allocations: 173.2 kB / 1.114 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7809, allocations: 0.6562 kB / 1.114 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.781, allocations: 22.95 kB / 1.114 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.7811, allocations: 1.031 kB / 1.114 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.7811, allocations: 2 kB / 1.114 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7811, allocations: 0.5625 kB / 1.114 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7811, allocations: 4 kB / 1.114 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.7813, allocations: 134.8 kB / 1.114 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.7813, allocations: 86.11 kB / 1.114 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.7814, allocations: 4.766 kB / 1.114 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.7815, allocations: 3.844 kB / 1.114 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.7815, allocations: 7.422 kB / 1.114 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.7815, allocations: 6.375 kB / 1.114 GB, free: 16.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.7815, allocations: 81.53 kB / 1.114 GB, free: 16.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7815, allocations: 0 / 1.114 GB, free: 16.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001879/0.7817, allocations: 14.34 kB / 1.114 GB, free: 16.12 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001141/0.7819, allocations: 100.9 kB / 1.114 GB, free: 16.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.782, allocations: 59.52 kB / 1.114 GB, free: 16.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.782, allocations: 0 / 1.114 GB, free: 16.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.7821, allocations: 31.7 kB / 1.114 GB, free: 16.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.7823, allocations: 20.91 kB / 1.114 GB, free: 16.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.7828, allocations: 383.4 kB / 1.114 GB, free: 15.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.7831, allocations: 0.6908 MB / 1.115 GB, free: 15.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.505e-05/0.7832, allocations: 10.25 kB / 1.115 GB, free: 15.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.7832, allocations: 11.03 kB / 1.115 GB, free: 15.03 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7832, allocations: 0 / 1.115 GB, free: 15.03 MB / 0.698 GB Notification: Performance of Templates: time 0.002438/0.7857, allocations: 0.5798 MB / 1.116 GB, free: 14.97 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)