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.001004/0.001004, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008613/0.008613, allocations: 169 kB / 16.26 MB, free: 6.652 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.389/1.389, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.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.721/1.721, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0007392/0.0007393, allocations: 11.19 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2656, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001535/0.2671, allocations: 1.009 MB / 0.7889 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.582/0.8492, allocations: 143.1 MB / 0.9286 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.8493, allocations: 0 / 0.9286 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.8493, allocations: 1.406 kB / 0.9287 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.8494, allocations: 7.734 kB / 0.9287 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.8497, allocations: 81.58 kB / 0.9287 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.157e-05/0.8498, allocations: 36.31 kB / 0.9288 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.8498, allocations: 0.8906 kB / 0.9288 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.8499, allocations: 16.62 kB / 0.9288 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.85, allocations: 19.59 kB / 0.9288 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.85, allocations: 2.688 kB / 0.9288 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.8502, allocations: 70.72 kB / 0.9289 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.8503, allocations: 12.06 kB / 0.9289 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.8504, allocations: 45.66 kB / 0.9289 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.8506, allocations: 60.83 kB / 0.929 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8506, allocations: 3.062 kB / 0.929 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8506, allocations: 0.75 kB / 0.929 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.8506, allocations: 0 / 0.929 GB, free: 17.9 MB / 0.7325 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.0003369/0.8509, allocations: 339.7 kB / 0.9293 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.851, allocations: 8.938 kB / 0.9293 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.8512, allocations: 19.34 kB / 0.9293 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.8513, allocations: 173.7 kB / 0.9295 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.8513, allocations: 10.8 kB / 0.9295 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.8513, allocations: 7.172 kB / 0.9295 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.8514, allocations: 58.36 kB / 0.9296 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.8515, allocations: 0 / 0.9296 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.8515, allocations: 2.906 kB / 0.9296 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.8515, allocations: 0 / 0.9296 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.8515, allocations: 12.86 kB / 0.9296 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.8517, allocations: 164.7 kB / 0.9298 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.8518, allocations: 59 kB / 0.9298 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.8518, allocations: 19.03 kB / 0.9298 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.8518, allocations: 0 / 0.9298 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.8519, allocations: 37.75 kB / 0.9299 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.8519, allocations: 0 / 0.9299 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006883/0.8526, allocations: 372.9 kB / 0.9302 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.8526, allocations: 54.88 kB / 0.9303 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.8527, allocations: 94.88 kB / 0.9304 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.8527, allocations: 32.08 kB / 0.9304 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.8527, allocations: 80.14 kB / 0.9305 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.8528, allocations: 40.84 kB / 0.9305 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.8528, allocations: 20.5 kB / 0.9305 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8529, allocations: 320.6 kB / 0.9308 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.853, allocations: 21 kB / 0.9309 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.853, allocations: 36.95 kB / 0.9309 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.8531, allocations: 60.06 kB / 0.9309 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.8531, allocations: 0 / 0.9309 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001323/0.8532, allocations: 94.84 kB / 0.931 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.8533, allocations: 5.219 kB / 0.931 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8533, allocations: 3.953 kB / 0.931 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.8533, allocations: 4 kB / 0.931 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.8534, allocations: 25.7 kB / 0.9311 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.8534, allocations: 3.938 kB / 0.9311 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.8534, allocations: 5.359 kB / 0.9311 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.8535, allocations: 3.531 kB / 0.9311 GB, free: 16.04 MB / 0.7325 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.492e-05/0.8535, allocations: 117 kB / 0.9312 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.8536, allocations: 8.781 kB / 0.9312 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.8536, allocations: 8.078 kB / 0.9312 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8536, allocations: 2.938 kB / 0.9312 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.8536, allocations: 4.703 kB / 0.9312 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.8536, allocations: 0.5625 kB / 0.9312 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.8538, allocations: 175.5 kB / 0.9314 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8538, allocations: 0 / 0.9314 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.8539, allocations: 22.19 kB / 0.9314 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8539, allocations: 3.938 kB / 0.9314 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.8539, allocations: 1.938 kB / 0.9314 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8539, allocations: 3.938 kB / 0.9314 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8539, allocations: 0.9688 kB / 0.9314 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.8541, allocations: 142.6 kB / 0.9316 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.8542, allocations: 85.2 kB / 0.9316 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.8542, allocations: 0 / 0.9316 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.8543, allocations: 8.188 kB / 0.9316 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.8544, allocations: 4.859 kB / 0.9317 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.8544, allocations: 4.594 kB / 0.9317 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.8544, allocations: 80.55 kB / 0.9317 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8544, allocations: 0 / 0.9317 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001941/0.8546, allocations: 18.72 kB / 0.9317 GB, free: 15.46 MB / 0.7325 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.0001022/0.8547, allocations: 109.2 kB / 0.9319 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.8549, allocations: 54.38 kB / 0.9319 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8549, allocations: 0 / 0.9319 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.8549, allocations: 27.69 kB / 0.9319 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.8551, allocations: 11.23 kB / 0.9319 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.8556, allocations: 390.9 kB / 0.9323 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.8559, allocations: 0.6878 MB / 0.933 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.79e-05/0.856, allocations: 12.67 kB / 0.933 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.856, allocations: 13.38 kB / 0.933 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.856, allocations: 0 / 0.933 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.002546/0.8586, allocations: 0.6052 MB / 0.9336 GB, free: 14.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: