Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.691/1.691, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009022/0.0009021, allocations: 180.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 0.6626 GB, free: 4.328 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007837/0.0007833, allocations: 98.38 kB / 0.7808 GB, free: 43.52 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004356, allocations: 15.94 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7336, allocations: 120.3 MB / 1.026 GB, free: 56.45 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.35/11.08, allocations: 4.181 GB / 5.207 GB, free: 252.5 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/11.08, allocations: 82.77 kB / 5.207 GB, free: 252.4 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.07045/11.15, allocations: 36.68 MB / 5.243 GB, free: 215.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.174e-06/11.15, allocations: 0 / 5.243 GB, free: 215.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.622e-06/11.15, allocations: 0 / 5.243 GB, free: 215.4 MB / 0.9792 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.0003362/11.16, allocations: 343.5 kB / 5.243 GB, free: 215 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/11.16, allocations: 12.03 kB / 5.243 GB, free: 215 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/11.16, allocations: 8.922 kB / 5.243 GB, free: 215 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/11.16, allocations: 180.2 kB / 5.243 GB, free: 214.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/11.16, allocations: 4.375 kB / 5.243 GB, free: 214.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/11.16, allocations: 8.281 kB / 5.243 GB, free: 214.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/11.16, allocations: 54.23 kB / 5.243 GB, free: 214.7 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/11.16, allocations: 4.125 kB / 5.243 GB, free: 214.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/11.16, allocations: 3.938 kB / 5.243 GB, free: 214.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/11.16, allocations: 0 / 5.243 GB, free: 214.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/11.16, allocations: 15.98 kB / 5.243 GB, free: 214.7 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/11.16, allocations: 157.7 kB / 5.244 GB, free: 214.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 7.967e-05/11.16, allocations: 58.5 kB / 5.244 GB, free: 214.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/11.16, allocations: 16.84 kB / 5.244 GB, free: 214.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/11.16, allocations: 0 / 5.244 GB, free: 214.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/11.16, allocations: 34.56 kB / 5.244 GB, free: 214.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/11.16, allocations: 0 / 5.244 GB, free: 214.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.0006952/11.16, allocations: 378.2 kB / 5.244 GB, free: 213.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/11.16, allocations: 51.41 kB / 5.244 GB, free: 213.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/11.16, allocations: 97.84 kB / 5.244 GB, free: 213.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/11.16, allocations: 29.7 kB / 5.244 GB, free: 213.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 1.711e-05/11.16, allocations: 80.14 kB / 5.244 GB, free: 213.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/11.16, allocations: 43.39 kB / 5.244 GB, free: 213.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/11.16, allocations: 0 / 5.244 GB, free: 213.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 5.531e-05/11.16, allocations: 315 kB / 5.245 GB, free: 213.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/11.16, allocations: 23.98 kB / 5.245 GB, free: 213.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.32e-05/11.16, allocations: 39.52 kB / 5.245 GB, free: 213.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/11.16, allocations: 58.25 kB / 5.245 GB, free: 213.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/11.16, allocations: 0 / 5.245 GB, free: 213.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001151/11.16, allocations: 97.55 kB / 5.245 GB, free: 213.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/11.16, allocations: 7.984 kB / 5.245 GB, free: 213 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/11.16, allocations: 0 / 5.245 GB, free: 213 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/11.16, allocations: 0 / 5.245 GB, free: 213 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/11.16, allocations: 28 kB / 5.245 GB, free: 213 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/11.16, allocations: 0 / 5.245 GB, free: 213 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/11.16, allocations: 7.938 kB / 5.245 GB, free: 213 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/11.16, allocations: 0 / 5.245 GB, free: 213 MB / 0.9792 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 6.438e-05/11.16, allocations: 122.3 kB / 5.245 GB, free: 212.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/11.16, allocations: 11.84 kB / 5.245 GB, free: 212.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/11.16, allocations: 11.97 kB / 5.245 GB, free: 212.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/11.16, allocations: 0 / 5.245 GB, free: 212.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/11.16, allocations: 0 / 5.245 GB, free: 212.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/11.16, allocations: 8 kB / 5.245 GB, free: 212.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/11.16, allocations: 169.6 kB / 5.245 GB, free: 212.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/11.16, allocations: 3.938 kB / 5.245 GB, free: 212.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/11.16, allocations: 23.98 kB / 5.245 GB, free: 212.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/11.16, allocations: 3.984 kB / 5.245 GB, free: 212.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/11.16, allocations: 4 kB / 5.245 GB, free: 212.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/11.16, allocations: 3.938 kB / 5.245 GB, free: 212.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/11.16, allocations: 0 / 5.245 GB, free: 212.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/11.16, allocations: 133 kB / 5.245 GB, free: 212.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/11.16, allocations: 97.08 kB / 5.246 GB, free: 212.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/11.16, allocations: 0 / 5.246 GB, free: 212.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/11.16, allocations: 4 kB / 5.246 GB, free: 212.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/11.16, allocations: 7.984 kB / 5.246 GB, free: 212.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/11.16, allocations: 4 kB / 5.246 GB, free: 212.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.136e-05/11.16, allocations: 75.28 kB / 5.246 GB, free: 212.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/11.16, allocations: 0 / 5.246 GB, free: 212.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003552/11.16, allocations: 55.98 kB / 5.246 GB, free: 212.2 MB / 0.9792 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.0007449/11.16, allocations: 0.5515 MB / 5.246 GB, free: 211.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001316/11.16, allocations: 55.91 kB / 5.246 GB, free: 211.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/11.16, allocations: 0 / 5.246 GB, free: 211.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/11.16, allocations: 35.92 kB / 5.246 GB, free: 211.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/11.16, allocations: 12.5 kB / 5.246 GB, free: 211.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/11.16, allocations: 382.8 kB / 5.247 GB, free: 211.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/11.16, allocations: 0.6887 MB / 5.247 GB, free: 210.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.234e-05/11.16, allocations: 8.672 kB / 5.247 GB, free: 210.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/11.16, allocations: 11.44 kB / 5.247 GB, free: 210.4 MB / 0.9792 GB Notification: Performance of SimCode: time 3.3e-07/11.16, allocations: 0 / 5.247 GB, free: 210.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.0105/11.17, allocations: 8.078 MB / 5.255 GB, free: 202.3 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)