Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001435/0.001435, allocations: 109.8 kB / 16.27 MB, free: 5.984 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.001526/0.001527, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.49/1.49, allocations: 205.1 MB / 223.1 MB, free: 12.35 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 0.5495 GB, free: 17.64 MB / 462.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.001437/0.001437, allocations: 67.89 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2196, allocations: 114.6 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002703/0.2224, allocations: 1.267 MB / 0.7853 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5537/0.7761, allocations: 147 MB / 0.9288 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.7762, allocations: 0 / 0.9288 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.7763, allocations: 1.125 kB / 0.9288 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.7764, allocations: 11.91 kB / 0.9288 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.7769, allocations: 90.28 kB / 0.9289 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.074e-05/0.777, allocations: 28.33 kB / 0.929 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.777, allocations: 10.75 kB / 0.929 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.7771, allocations: 24.16 kB / 0.929 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.7772, allocations: 9.438 kB / 0.929 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.7772, allocations: 1.375 kB / 0.929 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.7775, allocations: 82.19 kB / 0.9291 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.7776, allocations: 5.375 kB / 0.9291 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.7776, allocations: 15.67 kB / 0.9291 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.7778, allocations: 66.98 kB / 0.9292 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7778, allocations: 0 / 0.9292 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7778, allocations: 0 / 0.9292 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.7778, allocations: 4 kB / 0.9292 GB, free: 5.457 MB / 0.7169 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.0004692/0.7783, allocations: 354.7 kB / 0.9295 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7784, allocations: 13.5 kB / 0.9295 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.7786, allocations: 15.98 kB / 0.9295 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.7787, allocations: 165.9 kB / 0.9297 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.7788, allocations: 9.312 kB / 0.9297 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.7788, allocations: 4.125 kB / 0.9297 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.779, allocations: 60.61 kB / 0.9298 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.779, allocations: 0 / 0.9298 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.779, allocations: 1.375 kB / 0.9298 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.779, allocations: 1.375 kB / 0.9298 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.374e-05/0.7791, allocations: 12.23 kB / 0.9298 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.7793, allocations: 161.9 kB / 0.9299 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.7794, allocations: 52.84 kB / 0.93 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.7794, allocations: 23.66 kB / 0.93 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.7795, allocations: 4 kB / 0.93 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.7795, allocations: 34.06 kB / 0.93 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7795, allocations: 0 / 0.93 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008372/0.7804, allocations: 365.7 kB / 0.9304 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.7804, allocations: 54.16 kB / 0.9304 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.7805, allocations: 103.2 kB / 0.9305 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.7805, allocations: 31.02 kB / 0.9306 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.7806, allocations: 80.14 kB / 0.9306 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.7807, allocations: 39.58 kB / 0.9307 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.7807, allocations: 31.94 kB / 0.9307 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7808, allocations: 321.5 kB / 0.931 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.7809, allocations: 17.62 kB / 0.931 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.7809, allocations: 40.89 kB / 0.9311 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.781, allocations: 66.89 kB / 0.9311 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.7811, allocations: 0 / 0.9311 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001474/0.7812, allocations: 89.5 kB / 0.9312 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.7812, allocations: 4.812 kB / 0.9312 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7812, allocations: 1.25 kB / 0.9312 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7813, allocations: 1.062 kB / 0.9312 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.7814, allocations: 25.73 kB / 0.9312 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.7814, allocations: 2.75 kB / 0.9313 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.7815, allocations: 9.375 kB / 0.9313 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.7815, allocations: 2.719 kB / 0.9313 GB, free: 3.367 MB / 0.7169 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 9.544e-05/0.7816, allocations: 120.3 kB / 0.9314 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.7816, allocations: 7.531 kB / 0.9314 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.7817, allocations: 11.97 kB / 0.9314 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.7817, allocations: 1.406 kB / 0.9314 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7817, allocations: 1.094 kB / 0.9314 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.7817, allocations: 3.984 kB / 0.9314 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.7818, allocations: 171.7 kB / 0.9316 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7819, allocations: 4 kB / 0.9316 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.782, allocations: 25.77 kB / 0.9316 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.782, allocations: 3.984 kB / 0.9316 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.782, allocations: 1.344 kB / 0.9316 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.782, allocations: 0 / 0.9316 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.782, allocations: 1.406 kB / 0.9316 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.7823, allocations: 141.3 kB / 0.9317 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.7824, allocations: 84.08 kB / 0.9318 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.7824, allocations: 8 kB / 0.9318 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.7825, allocations: 7.328 kB / 0.9318 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.7825, allocations: 2.625 kB / 0.9318 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.7825, allocations: 6.75 kB / 0.9318 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.7826, allocations: 76.66 kB / 0.9319 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7826, allocations: 0 / 0.9319 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002/0.7828, allocations: 13.03 kB / 0.9319 GB, free: 2.711 MB / 0.7169 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.0001294/0.7829, allocations: 109 kB / 0.932 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.7831, allocations: 64.2 kB / 0.9321 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7831, allocations: 0 / 0.9321 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.7832, allocations: 32.17 kB / 0.9321 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.7834, allocations: 7.844 kB / 0.9321 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.7841, allocations: 346 kB / 0.9325 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.7843, allocations: 0.6923 MB / 0.9331 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.7844, allocations: 15.44 kB / 0.9331 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.7844, allocations: 4 kB / 0.9332 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of Templates: time 0.00231/0.7867, allocations: 0.8167 MB / 0.934 GB, free: 0.7188 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)