Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008518/0.0008559, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008546/0.0008547, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.681/1.681, allocations: 252 MB / 0.5102 GB, free: 4.848 MB / 414.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.0005405/0.0005406, allocations: 15.94 kB / 0.6243 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.56/0.5606, allocations: 106.3 MB / 0.7281 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001519/0.5622, allocations: 1.049 MB / 0.7291 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.7303, allocations: 134.5 MB / 0.8605 GB, free: 3.531 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.7305, allocations: 0 / 0.8605 GB, free: 3.531 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 4.666e-05/0.7305, allocations: 0 / 0.8605 GB, free: 3.531 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.7306, allocations: 11.91 kB / 0.8605 GB, free: 3.52 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009551/0.7316, allocations: 231 kB / 0.8607 GB, free: 3.293 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.7317, allocations: 71.75 kB / 0.8608 GB, free: 3.223 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.7318, allocations: 4 kB / 0.8608 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.7319, allocations: 31.91 kB / 0.8608 GB, free: 3.188 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.732, allocations: 35.89 kB / 0.8608 GB, free: 3.152 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.732, allocations: 0 / 0.8608 GB, free: 3.152 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007973/0.7328, allocations: 247.3 kB / 0.8611 GB, free: 2.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.7329, allocations: 19.92 kB / 0.8611 GB, free: 2.891 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.7329, allocations: 33.7 kB / 0.8611 GB, free: 2.852 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.7332, allocations: 101.8 kB / 0.8612 GB, free: 2.754 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.7332, allocations: 0 / 0.8612 GB, free: 2.754 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7333, allocations: 0 / 0.8612 GB, free: 2.754 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.7333, allocations: 0 / 0.8612 GB, free: 2.754 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005418/0.7338, allocations: 378.5 kB / 0.8616 GB, free: 2.34 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.7339, allocations: 8.031 kB / 0.8616 GB, free: 2.332 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/0.7344, allocations: 47.81 kB / 0.8616 GB, free: 2.285 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.7345, allocations: 163 kB / 0.8618 GB, free: 2.086 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.7345, allocations: 12 kB / 0.8618 GB, free: 2.074 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.7346, allocations: 8 kB / 0.8618 GB, free: 2.066 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.7348, allocations: 77.64 kB / 0.8619 GB, free: 1.984 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.7348, allocations: 0 / 0.8619 GB, free: 1.984 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.7348, allocations: 0 / 0.8619 GB, free: 1.984 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7349, allocations: 4 kB / 0.8619 GB, free: 1.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-05/0.735, allocations: 43.95 kB / 0.8619 GB, free: 1.938 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.7352, allocations: 201.4 kB / 0.8621 GB, free: 1.691 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.7354, allocations: 94.61 kB / 0.8622 GB, free: 1.59 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.7355, allocations: 32.84 kB / 0.8623 GB, free: 1.555 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.7357, allocations: 178.2 kB / 0.8624 GB, free: 1.344 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.7358, allocations: 38.56 kB / 0.8625 GB, free: 1.297 MB / 0.67 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.7358, allocations: 0 / 0.8625 GB, free: 1.297 MB / 0.67 GB Notification: Performance of matching and sorting (n=19): time 0.001332/0.7371, allocations: 0.5371 MB / 0.863 GB, free: 0.707 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.7372, allocations: 63.34 kB / 0.863 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.688e-05/0.7373, allocations: 105.8 kB / 0.8631 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7373, allocations: 29.7 kB / 0.8632 GB, free: 496 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.7373, allocations: 80.52 kB / 0.8633 GB, free: 412 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.7374, allocations: 63.02 kB / 0.8633 GB, free: 348 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.7374, allocations: 4 kB / 0.8633 GB, free: 344 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7375, allocations: 322.8 kB / 0.8636 GB, free: 12 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.7376, allocations: 32.11 kB / 0.8637 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/0.7377, allocations: 71.41 kB / 0.8637 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.7378, allocations: 51.92 kB / 0.8638 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.7378, allocations: 0 / 0.8638 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002165/0.738, allocations: 153.5 kB / 0.8639 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.7381, allocations: 10.03 kB / 0.8639 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.7381, allocations: 0 / 0.8639 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.7381, allocations: 4 kB / 0.8639 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.7383, allocations: 39.92 kB / 0.864 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7383, allocations: 4 kB / 0.864 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.7383, allocations: 4 kB / 0.864 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.7384, allocations: 15.95 kB / 0.864 GB, free: 15.62 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.669e-05/0.7385, allocations: 117.8 kB / 0.8641 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.7385, allocations: 7.906 kB / 0.8641 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.7385, allocations: 20.42 kB / 0.8641 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.7386, allocations: 4 kB / 0.8641 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7386, allocations: 0 / 0.8641 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7386, allocations: 7.938 kB / 0.8641 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.7387, allocations: 197.6 kB / 0.8643 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7388, allocations: 4.125 kB / 0.8643 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.7389, allocations: 35.98 kB / 0.8644 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.7389, allocations: 0 / 0.8644 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.739, allocations: 4 kB / 0.8644 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.739, allocations: 4 kB / 0.8644 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.739, allocations: 0 / 0.8644 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.7393, allocations: 213.6 kB / 0.8646 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.7394, allocations: 93 kB / 0.8647 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.7394, allocations: 4.062 kB / 0.8647 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.7395, allocations: 7.984 kB / 0.8647 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.7395, allocations: 11.98 kB / 0.8647 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.7395, allocations: 8 kB / 0.8647 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.7396, allocations: 75.28 kB / 0.8648 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7396, allocations: 0 / 0.8648 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002256/0.7398, allocations: 32 kB / 0.8648 GB, free: 14.69 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001383/0.74, allocations: 111.2 kB / 0.8649 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.7402, allocations: 103.8 kB / 0.865 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7402, allocations: 0 / 0.865 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.7403, allocations: 59.17 kB / 0.8651 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.7405, allocations: 8 kB / 0.8651 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.7413, allocations: 0.6241 MB / 0.8657 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.7416, allocations: 0.701 MB / 0.8664 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.7417, allocations: 20.64 kB / 0.8664 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.7417, allocations: 19.38 kB / 0.8664 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of SimCode: time 3.4e-07/0.7417, allocations: 0 / 0.8664 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of Templates: time 0.003402/0.7452, allocations: 1.031 MB / 0.8674 GB, free: 11.96 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: