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.001348/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001627/0.001627, allocations: 193.4 kB / 16.14 MB, free: 6.703 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 MB, free: 4.957 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.701/1.701, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.002108/0.002108, allocations: 65.42 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2601, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002421/0.2626, allocations: 1.333 MB / 0.784 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.655/0.9176, allocations: 144.7 MB / 0.9253 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.9177, allocations: 0 / 0.9253 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.9178, allocations: 0 / 0.9253 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.999e-05/0.9179, allocations: 9.297 kB / 0.9253 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.9184, allocations: 84.53 kB / 0.9254 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.534e-05/0.9185, allocations: 34.86 kB / 0.9254 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.9185, allocations: 4.078 kB / 0.9254 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.716e-05/0.9186, allocations: 14.03 kB / 0.9254 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.9187, allocations: 14.86 kB / 0.9254 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.9187, allocations: 1.844 kB / 0.9254 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.9191, allocations: 74.94 kB / 0.9255 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.9191, allocations: 14.56 kB / 0.9255 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.9191, allocations: 16.72 kB / 0.9255 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.9194, allocations: 64.08 kB / 0.9256 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.9194, allocations: 0.9375 kB / 0.9256 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9194, allocations: 0 / 0.9256 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.9194, allocations: 0 / 0.9256 GB, free: 6.074 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.0008164/0.9202, allocations: 352.5 kB / 0.9259 GB, free: 21.71 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9203, allocations: 8.625 kB / 0.9259 GB, free: 21.71 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.9205, allocations: 16.94 kB / 0.926 GB, free: 21.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.9206, allocations: 169.8 kB / 0.9261 GB, free: 21.51 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.9206, allocations: 9.25 kB / 0.9261 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.9207, allocations: 7.062 kB / 0.9261 GB, free: 21.5 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.9208, allocations: 54.27 kB / 0.9262 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9208, allocations: 3.938 kB / 0.9262 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.9209, allocations: 0.9688 kB / 0.9262 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.9209, allocations: 0.75 kB / 0.9262 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/0.9209, allocations: 19.3 kB / 0.9262 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.9211, allocations: 163.1 kB / 0.9264 GB, free: 21.28 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.9212, allocations: 53.83 kB / 0.9264 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.9213, allocations: 18.67 kB / 0.9264 GB, free: 21.24 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.9213, allocations: 1.781 kB / 0.9264 GB, free: 21.24 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.9213, allocations: 35.47 kB / 0.9265 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.9213, allocations: 0.9375 kB / 0.9265 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0007797/0.9221, allocations: 378.5 kB / 0.9268 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.9222, allocations: 53.12 kB / 0.9269 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.463e-05/0.9222, allocations: 91.48 kB / 0.927 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.9222, allocations: 29.45 kB / 0.927 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.9223, allocations: 81.27 kB / 0.9271 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.9223, allocations: 38.17 kB / 0.9271 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.9224, allocations: 30.03 kB / 0.9271 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9226, allocations: 327.7 kB / 0.9274 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.9226, allocations: 17.16 kB / 0.9275 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.9227, allocations: 39.83 kB / 0.9275 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.9228, allocations: 54.39 kB / 0.9276 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.9228, allocations: 0.9688 kB / 0.9276 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001921/0.923, allocations: 97.36 kB / 0.9276 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.9231, allocations: 5.281 kB / 0.9277 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.9231, allocations: 5.016 kB / 0.9277 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.9231, allocations: 1.156 kB / 0.9277 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.9233, allocations: 29.59 kB / 0.9277 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.9233, allocations: 5.859 kB / 0.9277 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.9233, allocations: 1.812 kB / 0.9277 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.9233, allocations: 3.219 kB / 0.9277 GB, free: 20.24 MB / 0.7481 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 0.000115/0.9235, allocations: 123.1 kB / 0.9278 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.9235, allocations: 3.312 kB / 0.9278 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.9235, allocations: 7.781 kB / 0.9278 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.9236, allocations: 8.781 kB / 0.9278 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9236, allocations: 0 / 0.9278 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.9236, allocations: 6.219 kB / 0.9278 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.9237, allocations: 175.3 kB / 0.928 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.9238, allocations: 0 / 0.928 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.9239, allocations: 21.64 kB / 0.928 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9239, allocations: 0.8438 kB / 0.928 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.9239, allocations: 4.5 kB / 0.928 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9239, allocations: 1.094 kB / 0.928 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9239, allocations: 3.938 kB / 0.928 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.9242, allocations: 139.2 kB / 0.9282 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.9243, allocations: 87.64 kB / 0.9283 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.9244, allocations: 5.812 kB / 0.9283 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.9245, allocations: 5.219 kB / 0.9283 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.9245, allocations: 4.625 kB / 0.9283 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.9245, allocations: 6.812 kB / 0.9283 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.9246, allocations: 79.72 kB / 0.9283 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9246, allocations: 4.094 kB / 0.9284 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000207/0.9248, allocations: 14.53 kB / 0.9284 GB, free: 19.67 MB / 0.7481 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.0001503/0.9249, allocations: 107.2 kB / 0.9285 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.9251, allocations: 59.14 kB / 0.9285 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9251, allocations: 0 / 0.9285 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.317e-05/0.9252, allocations: 28.11 kB / 0.9286 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.9256, allocations: 7.719 kB / 0.9286 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007119/0.9263, allocations: 340 kB / 0.9289 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.9266, allocations: 0.6845 MB / 0.9296 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.699e-05/0.9267, allocations: 13.02 kB / 0.9296 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.9268, allocations: 12.22 kB / 0.9296 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.9268, allocations: 0 / 0.9296 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.003018/0.9298, allocations: 0.6071 MB / 0.9302 GB, free: 18.56 MB / 0.7481 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)