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.001618/0.001618, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.844/1.844, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001451/0.001451, allocations: 73.77 kB / 0.6723 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.275, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002964/0.278, allocations: 1.278 MB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7419/1.02, allocations: 147 MB / 0.9289 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/1.02, allocations: 3.938 kB / 0.9289 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/1.02, allocations: 0.75 kB / 0.9289 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/1.02, allocations: 5.297 kB / 0.9289 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/1.021, allocations: 96.94 kB / 0.929 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.681e-05/1.021, allocations: 33.5 kB / 0.9291 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/1.021, allocations: 9.375 kB / 0.9291 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.8e-05/1.021, allocations: 11.23 kB / 0.9291 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/1.021, allocations: 17.48 kB / 0.9291 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/1.021, allocations: 3 kB / 0.9291 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/1.021, allocations: 81.23 kB / 0.9292 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/1.021, allocations: 9.016 kB / 0.9292 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/1.021, allocations: 22.72 kB / 0.9292 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/1.021, allocations: 65.33 kB / 0.9293 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.021, allocations: 0 / 0.9293 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/1.021, allocations: 0 / 0.9293 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.022, allocations: 0 / 0.9293 GB, free: 3.332 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.000695/1.022, allocations: 349.9 kB / 0.9296 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.022, allocations: 7.906 kB / 0.9296 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/1.022, allocations: 17.61 kB / 0.9296 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/1.023, allocations: 169.1 kB / 0.9298 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/1.023, allocations: 6.656 kB / 0.9298 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/1.023, allocations: 7.219 kB / 0.9298 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/1.023, allocations: 48.34 kB / 0.9298 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.023, allocations: 0 / 0.9298 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.023, allocations: 1.594 kB / 0.9298 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.023, allocations: 2.906 kB / 0.9298 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.927e-05/1.023, allocations: 20.42 kB / 0.9299 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/1.023, allocations: 166.5 kB / 0.93 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/1.023, allocations: 53.02 kB / 0.9301 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/1.023, allocations: 16.91 kB / 0.9301 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/1.023, allocations: 1.469 kB / 0.9301 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.023, allocations: 31.94 kB / 0.9301 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/1.023, allocations: 1.094 kB / 0.9301 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0008108/1.024, allocations: 383.3 kB / 0.9305 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/1.024, allocations: 55.06 kB / 0.9305 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/1.024, allocations: 90.75 kB / 0.9306 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/1.024, allocations: 30.78 kB / 0.9307 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/1.024, allocations: 83.02 kB / 0.9307 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/1.024, allocations: 34.05 kB / 0.9308 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/1.024, allocations: 28.14 kB / 0.9308 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.025, allocations: 327.5 kB / 0.9311 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/1.025, allocations: 19.02 kB / 0.9311 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/1.025, allocations: 36.38 kB / 0.9312 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/1.025, allocations: 67.16 kB / 0.9312 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.025, allocations: 0.7031 kB / 0.9312 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001235/1.025, allocations: 90.69 kB / 0.9313 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.025, allocations: 7.984 kB / 0.9313 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/1.025, allocations: 1.203 kB / 0.9313 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.025, allocations: 7.938 kB / 0.9313 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/1.025, allocations: 23.09 kB / 0.9313 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.025, allocations: 4.75 kB / 0.9314 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/1.025, allocations: 3.938 kB / 0.9314 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.025, allocations: 5.094 kB / 0.9314 GB, free: 17.48 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 9.504e-05/1.025, allocations: 116.6 kB / 0.9315 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/1.025, allocations: 2.125 kB / 0.9315 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/1.025, allocations: 14.28 kB / 0.9315 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.025, allocations: 7.938 kB / 0.9315 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.025, allocations: 0 / 0.9315 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.025, allocations: 4.281 kB / 0.9315 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/1.025, allocations: 174.1 kB / 0.9317 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.025, allocations: 0.6094 kB / 0.9317 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.026, allocations: 19.98 kB / 0.9317 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/1.026, allocations: 1.656 kB / 0.9317 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.026, allocations: 3.812 kB / 0.9317 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.026, allocations: 1.812 kB / 0.9317 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.026, allocations: 0 / 0.9317 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/1.026, allocations: 146.8 kB / 0.9318 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/1.026, allocations: 85.67 kB / 0.9319 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/1.026, allocations: 0.6562 kB / 0.9319 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/1.026, allocations: 7.766 kB / 0.9319 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/1.026, allocations: 6.406 kB / 0.9319 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/1.026, allocations: 2.953 kB / 0.9319 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.383e-05/1.026, allocations: 77.75 kB / 0.932 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.122e-06/1.026, allocations: 4.094 kB / 0.932 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001877/1.026, allocations: 18.14 kB / 0.932 GB, free: 16.91 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.0001027/1.026, allocations: 103.7 kB / 0.9321 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001255/1.027, allocations: 58.97 kB / 0.9322 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.027, allocations: 0 / 0.9322 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/1.027, allocations: 29.75 kB / 0.9322 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/1.027, allocations: 9.875 kB / 0.9322 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/1.027, allocations: 318 kB / 0.9325 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/1.028, allocations: 0.6922 MB / 0.9332 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.159e-05/1.028, allocations: 9.703 kB / 0.9332 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/1.028, allocations: 13.31 kB / 0.9332 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/1.028, allocations: 0 / 0.9332 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of Templates: time 0.002788/1.031, allocations: 0.642 MB / 0.9338 GB, free: 15.78 MB / 0.7325 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)