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.001232/0.001232, allocations: 105.8 kB / 16.37 MB, free: 6.312 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.00124/0.00124, allocations: 187.4 kB / 17.3 MB, free: 5.871 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.301/1.301, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.733/1.733, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001419/0.001419, allocations: 67.03 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1855, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002391/0.1879, allocations: 1.274 MB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4674/0.6553, allocations: 147 MB / 0.9296 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.6554, allocations: 5.469 kB / 0.9296 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.6554, allocations: 0 / 0.9296 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.6555, allocations: 3.938 kB / 0.9296 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.656, allocations: 97.11 kB / 0.9297 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.414e-05/0.6561, allocations: 32.72 kB / 0.9297 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.6561, allocations: 1.312 kB / 0.9297 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.6562, allocations: 16.44 kB / 0.9297 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.6562, allocations: 17.84 kB / 0.9298 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.6563, allocations: 1.438 kB / 0.9298 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.6565, allocations: 81.7 kB / 0.9298 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.6566, allocations: 9.359 kB / 0.9299 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.6566, allocations: 15.27 kB / 0.9299 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.6568, allocations: 68.3 kB / 0.9299 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6568, allocations: 0 / 0.9299 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6568, allocations: 0 / 0.9299 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.6568, allocations: 0 / 0.9299 GB, free: 5.121 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.0004131/0.6572, allocations: 353.6 kB / 0.9303 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6573, allocations: 9.219 kB / 0.9303 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.6575, allocations: 11.81 kB / 0.9303 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6576, allocations: 169.9 kB / 0.9304 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6576, allocations: 13.31 kB / 0.9305 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.6577, allocations: 2.812 kB / 0.9305 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.6578, allocations: 54.27 kB / 0.9305 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.6578, allocations: 0 / 0.9305 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6578, allocations: 0 / 0.9305 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6579, allocations: 1.406 kB / 0.9305 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.6579, allocations: 17.45 kB / 0.9305 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.6581, allocations: 165.4 kB / 0.9307 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.6582, allocations: 55.47 kB / 0.9307 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.6582, allocations: 15.39 kB / 0.9308 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.6582, allocations: 0 / 0.9308 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.6583, allocations: 33.06 kB / 0.9308 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.6583, allocations: 0 / 0.9308 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0007278/0.659, allocations: 378.8 kB / 0.9312 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.659, allocations: 56.78 kB / 0.9312 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.09e-05/0.6591, allocations: 95.23 kB / 0.9313 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.6591, allocations: 27.08 kB / 0.9313 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.6592, allocations: 81.64 kB / 0.9314 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.6592, allocations: 39.58 kB / 0.9314 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.6593, allocations: 35.23 kB / 0.9315 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.6594, allocations: 316.2 kB / 0.9318 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.6594, allocations: 26.61 kB / 0.9318 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.6595, allocations: 32.89 kB / 0.9318 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.6596, allocations: 62.58 kB / 0.9319 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.6596, allocations: 0 / 0.9319 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001368/0.6597, allocations: 93.62 kB / 0.932 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.6597, allocations: 6.531 kB / 0.932 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6597, allocations: 2.969 kB / 0.932 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.6598, allocations: 4 kB / 0.932 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.6599, allocations: 23.94 kB / 0.932 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6599, allocations: 0 / 0.932 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.6599, allocations: 11.98 kB / 0.932 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.6599, allocations: 3.938 kB / 0.932 GB, free: 3.004 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 7.878e-05/0.66, allocations: 119.1 kB / 0.9321 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.6601, allocations: 7.906 kB / 0.9322 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.6601, allocations: 11.97 kB / 0.9322 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6601, allocations: 0 / 0.9322 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6601, allocations: 3.938 kB / 0.9322 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.6602, allocations: 89.09 kB / 0.9323 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.6602, allocations: 0.5625 kB / 0.9323 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.6603, allocations: 11.94 kB / 0.9323 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.6603, allocations: 7.984 kB / 0.9323 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002368/0.6606, allocations: 168.9 kB / 0.9324 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002406/0.6608, allocations: 296.2 kB / 0.9327 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.558e-05/0.6609, allocations: 28.03 kB / 0.9327 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.895e-05/0.6609, allocations: 79.28 kB / 0.9328 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of Backend: time 3.91e-07/0.6609, allocations: 0 / 0.9328 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.6614, allocations: 136.4 kB / 0.9329 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0006327/0.662, allocations: 0.7594 MB / 0.9337 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of Templates: time 0.003432/0.6655, allocations: 1.204 MB / 0.9349 GB, free: 60 kB / 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)