Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.632/3.632, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002194/0.002194, allocations: 168 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.156/4.156, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 91.66 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007888/0.000789, allocations: 8.938 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3537, allocations: 106.3 MB / 0.8995 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 22.81/23.17, allocations: 4.605 GB / 5.505 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004045/23.17, allocations: 83.05 kB / 5.505 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.195/23.36, allocations: 36.6 MB / 5.54 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.396e-06/23.36, allocations: 0 / 5.54 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.295e-06/23.36, allocations: 0 / 5.54 GB, free: 238.3 MB / 0.8855 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.0005409/23.37, allocations: 354.2 kB / 5.541 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/23.37, allocations: 15.62 kB / 5.541 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/23.37, allocations: 12.45 kB / 5.541 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/23.37, allocations: 160.4 kB / 5.541 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/23.37, allocations: 3.812 kB / 5.541 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/23.37, allocations: 4.281 kB / 5.541 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/23.37, allocations: 56.86 kB / 5.541 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/23.37, allocations: 192 / 5.541 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/23.37, allocations: 3.938 kB / 5.541 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/23.37, allocations: 7.875 kB / 5.541 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.855e-05/23.37, allocations: 15.39 kB / 5.541 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/23.37, allocations: 176.1 kB / 5.541 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/23.37, allocations: 45.33 kB / 5.541 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.133e-05/23.37, allocations: 23.95 kB / 5.541 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/23.37, allocations: 0 / 5.541 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/23.37, allocations: 30.56 kB / 5.541 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/23.37, allocations: 0 / 5.541 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0014/23.37, allocations: 379.3 kB / 5.542 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/23.37, allocations: 51.41 kB / 5.542 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/23.37, allocations: 97.33 kB / 5.542 GB, free: 237 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/23.37, allocations: 25.7 kB / 5.542 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/23.37, allocations: 80.14 kB / 5.542 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/23.37, allocations: 46.42 kB / 5.542 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/23.37, allocations: 4 kB / 5.542 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/23.37, allocations: 322.4 kB / 5.542 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/23.37, allocations: 11.25 kB / 5.542 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/23.37, allocations: 39.78 kB / 5.542 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/23.37, allocations: 30.11 kB / 5.542 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/23.37, allocations: 0 / 5.542 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005156/23.37, allocations: 94.55 kB / 5.542 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/23.37, allocations: 3.938 kB / 5.542 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/23.37, allocations: 7.938 kB / 5.542 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/23.37, allocations: 0 / 5.542 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/23.37, allocations: 27.34 kB / 5.542 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/23.37, allocations: 0 / 5.542 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/23.37, allocations: 3.312 kB / 5.542 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/23.37, allocations: 3.906 kB / 5.542 GB, free: 236.4 MB / 0.8855 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 0.0001545/23.37, allocations: 113.3 kB / 5.542 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/23.37, allocations: 11.83 kB / 5.543 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.617e-05/23.37, allocations: 14.19 kB / 5.543 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/23.37, allocations: 4 kB / 5.543 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/23.37, allocations: 3.938 kB / 5.543 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/23.37, allocations: 3.797 kB / 5.543 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/23.37, allocations: 168 kB / 5.543 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/23.37, allocations: 3.938 kB / 5.543 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/23.37, allocations: 19.47 kB / 5.543 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/23.37, allocations: 3.906 kB / 5.543 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/23.37, allocations: 0 / 5.543 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/23.37, allocations: 0 / 5.543 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/23.37, allocations: 0 / 5.543 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/23.37, allocations: 144.8 kB / 5.543 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/23.37, allocations: 100.3 kB / 5.543 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/23.37, allocations: 4 kB / 5.543 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/23.37, allocations: 7.594 kB / 5.543 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/23.37, allocations: 7.609 kB / 5.543 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/23.37, allocations: 0 / 5.543 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.652e-05/23.37, allocations: 83.06 kB / 5.543 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.32e-07/23.37, allocations: 4.094 kB / 5.543 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008316/23.37, allocations: 49.08 kB / 5.543 GB, free: 235.8 MB / 0.8855 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.001306/23.37, allocations: 0.5477 MB / 5.544 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000363/23.37, allocations: 65.66 kB / 5.544 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/23.37, allocations: 0 / 5.544 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/23.38, allocations: 23.06 kB / 5.544 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/23.38, allocations: 14.03 kB / 5.544 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/23.38, allocations: 384 kB / 5.544 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/23.38, allocations: 0.6862 MB / 5.545 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001865/23.38, allocations: 19.06 kB / 5.545 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/23.38, allocations: 10.56 kB / 5.545 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/23.38, allocations: 0 / 5.545 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.02962/23.41, allocations: 8.054 MB / 5.553 GB, free: 231.7 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)