Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001487/0.001486, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001216/0.001216, allocations: 197.8 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 69.09 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.39, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002562/0.3926, allocations: 1.337 MB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1928/0.5854, allocations: 144.7 MB / 1.21 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.5855, allocations: 0 / 1.21 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.5856, allocations: 0 / 1.21 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.5857, allocations: 15.86 kB / 1.21 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.5862, allocations: 75.7 kB / 1.21 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.136e-05/0.5863, allocations: 31.91 kB / 1.21 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.5864, allocations: 4 kB / 1.21 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.5864, allocations: 19.92 kB / 1.21 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.5865, allocations: 11.92 kB / 1.21 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.5865, allocations: 4 kB / 1.21 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.5869, allocations: 71.83 kB / 1.21 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.5869, allocations: 11.98 kB / 1.21 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.587, allocations: 19.92 kB / 1.21 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.5872, allocations: 68.09 kB / 1.21 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5872, allocations: 0 / 1.21 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5872, allocations: 0 / 1.21 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5872, allocations: 0 / 1.21 GB, free: 7.996 MB / 0.9669 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.0005134/0.5877, allocations: 347.5 kB / 1.211 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.5878, allocations: 8.031 kB / 1.211 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.588, allocations: 20.83 kB / 1.211 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.5882, allocations: 160.4 kB / 1.211 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.5882, allocations: 11.88 kB / 1.211 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.5882, allocations: 8 kB / 1.211 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5884, allocations: 53.61 kB / 1.211 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5884, allocations: 0 / 1.211 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.5884, allocations: 4 kB / 1.211 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5884, allocations: 0 / 1.211 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.134e-05/0.5885, allocations: 19.97 kB / 1.211 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.5887, allocations: 173.6 kB / 1.211 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.5888, allocations: 46.56 kB / 1.211 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.5889, allocations: 16.84 kB / 1.211 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.5889, allocations: 0 / 1.211 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.5889, allocations: 42.5 kB / 1.211 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.5889, allocations: 0 / 1.211 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0008972/0.5898, allocations: 366.3 kB / 1.212 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5899, allocations: 55.34 kB / 1.212 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.59, allocations: 97.84 kB / 1.212 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.59, allocations: 29.7 kB / 1.212 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.5901, allocations: 80.14 kB / 1.212 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.5901, allocations: 39.44 kB / 1.212 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.5902, allocations: 33.78 kB / 1.212 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5903, allocations: 326.8 kB / 1.212 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.5904, allocations: 16 kB / 1.212 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.5905, allocations: 37.7 kB / 1.212 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.5906, allocations: 62.17 kB / 1.212 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.5906, allocations: 4 kB / 1.212 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001516/0.5907, allocations: 97.52 kB / 1.213 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.5908, allocations: 9.875 kB / 1.213 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5908, allocations: 4 kB / 1.213 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5908, allocations: 0 / 1.213 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.5909, allocations: 23.98 kB / 1.213 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.591, allocations: 0 / 1.213 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.591, allocations: 0 / 1.213 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.591, allocations: 4 kB / 1.213 GB, free: 5.566 MB / 0.9669 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.948e-05/0.5911, allocations: 125.7 kB / 1.213 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.5911, allocations: 4 kB / 1.213 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.5912, allocations: 7.969 kB / 1.213 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5912, allocations: 4 kB / 1.213 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5912, allocations: 3.984 kB / 1.213 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5912, allocations: 0 / 1.213 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.5914, allocations: 169.6 kB / 1.213 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5914, allocations: 0 / 1.213 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.5915, allocations: 23.98 kB / 1.213 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.5916, allocations: 0 / 1.213 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5916, allocations: 4 kB / 1.213 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5916, allocations: 0 / 1.213 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5916, allocations: 0 / 1.213 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.5918, allocations: 148.8 kB / 1.213 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.5919, allocations: 85.02 kB / 1.213 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.5919, allocations: 4 kB / 1.213 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.592, allocations: 12.03 kB / 1.213 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.5921, allocations: 0 / 1.213 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5921, allocations: 4 kB / 1.213 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.5922, allocations: 79.27 kB / 1.213 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5922, allocations: 8.094 kB / 1.213 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002101/0.5924, allocations: 19.94 kB / 1.213 GB, free: 4.777 MB / 0.9669 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.0001314/0.5925, allocations: 99.25 kB / 1.213 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.5927, allocations: 64 kB / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5927, allocations: 0 / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.5927, allocations: 35.86 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.593, allocations: 8 kB / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.5937, allocations: 330.8 kB / 1.214 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.594, allocations: 0.6926 MB / 1.214 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.156e-05/0.5941, allocations: 8.672 kB / 1.214 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.5941, allocations: 11.44 kB / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.5941, allocations: 0 / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of Templates: time 0.003293/0.5974, allocations: 0.6101 MB / 1.215 GB, free: 2.863 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)