Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 109 kB / 16.41 MB, free: 6.496 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.00135/0.00135, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002198/0.002198, allocations: 287.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.888/0.888, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 103.8 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.419, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002461/0.4215, allocations: 1.326 MB / 0.7683 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1401/0.5616, allocations: 148.1 MB / 0.9129 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.5617, allocations: 0 / 0.9129 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.5618, allocations: 7.984 kB / 0.9129 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.5619, allocations: 19.84 kB / 0.913 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.563, allocations: 326.6 kB / 0.9133 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.5631, allocations: 67.77 kB / 0.9133 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.5631, allocations: 7.984 kB / 0.9133 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.5632, allocations: 31.91 kB / 0.9134 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 9.751e-05/0.5633, allocations: 27.91 kB / 0.9134 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.5633, allocations: 4 kB / 0.9134 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000798/0.5641, allocations: 418.3 kB / 0.9138 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.5642, allocations: 19.91 kB / 0.9138 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.5642, allocations: 19.94 kB / 0.9138 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.5646, allocations: 158.4 kB / 0.914 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5646, allocations: 8 kB / 0.914 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5646, allocations: 0 / 0.914 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.5646, allocations: 0 / 0.914 GB, free: 12.84 MB / 0.6856 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.0004404/0.5651, allocations: 387.3 kB / 0.9144 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.5651, allocations: 11.97 kB / 0.9144 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/0.5655, allocations: 36.89 kB / 0.9144 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.783e-05/0.5656, allocations: 172.2 kB / 0.9146 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5657, allocations: 7.875 kB / 0.9146 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.5657, allocations: 16 kB / 0.9146 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.5658, allocations: 77.64 kB / 0.9147 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5659, allocations: 0 / 0.9147 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.5659, allocations: 0 / 0.9147 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5659, allocations: 4 kB / 0.9147 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.566, allocations: 47.89 kB / 0.9147 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.5662, allocations: 185.5 kB / 0.9149 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.5663, allocations: 94.67 kB / 0.915 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.5664, allocations: 32.84 kB / 0.915 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.5666, allocations: 178.2 kB / 0.9152 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.5667, allocations: 34.5 kB / 0.9152 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.5667, allocations: 336 / 0.9152 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001216/0.5679, allocations: 0.5369 MB / 0.9158 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.568, allocations: 55.41 kB / 0.9158 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/0.568, allocations: 97.8 kB / 0.9159 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.5681, allocations: 45.75 kB / 0.9159 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.5681, allocations: 80.52 kB / 0.916 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.5682, allocations: 74.84 kB / 0.9161 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.5682, allocations: 41.7 kB / 0.9161 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.5683, allocations: 322.8 kB / 0.9164 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.5684, allocations: 31.98 kB / 0.9165 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.5685, allocations: 72.97 kB / 0.9165 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.5686, allocations: 119.4 kB / 0.9167 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5686, allocations: 4 kB / 0.9167 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002071/0.5688, allocations: 157.4 kB / 0.9168 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5689, allocations: 6.812 kB / 0.9168 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5689, allocations: 0 / 0.9168 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5689, allocations: 7.984 kB / 0.9168 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.569, allocations: 39.92 kB / 0.9169 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5691, allocations: 0 / 0.9169 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.5691, allocations: 19.92 kB / 0.9169 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.5691, allocations: 8 kB / 0.9169 GB, free: 9.555 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.5692, allocations: 116.2 kB / 0.917 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.5692, allocations: 4 kB / 0.917 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.5693, allocations: 16.44 kB / 0.917 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5693, allocations: 7.938 kB / 0.917 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5693, allocations: 0 / 0.917 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5693, allocations: 3.938 kB / 0.917 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.5695, allocations: 193.6 kB / 0.9172 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5695, allocations: 4 kB / 0.9172 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.5697, allocations: 43.91 kB / 0.9173 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5697, allocations: 128 / 0.9173 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5697, allocations: 8 kB / 0.9173 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5697, allocations: 4 kB / 0.9173 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5697, allocations: 0 / 0.9173 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.57, allocations: 214.8 kB / 0.9175 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.5701, allocations: 89 kB / 0.9176 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.5701, allocations: 11.98 kB / 0.9176 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5702, allocations: 8.062 kB / 0.9176 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.5703, allocations: 11.92 kB / 0.9176 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5703, allocations: 8 kB / 0.9176 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.5703, allocations: 83.22 kB / 0.9177 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5703, allocations: 0 / 0.9177 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002286/0.5706, allocations: 28 kB / 0.9177 GB, free: 8.629 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 (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.0001235/0.5707, allocations: 111.3 kB / 0.9178 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.5709, allocations: 107.8 kB / 0.9179 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.5709, allocations: 4 kB / 0.9179 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/0.571, allocations: 47.92 kB / 0.918 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.5712, allocations: 17.88 kB / 0.918 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007333/0.572, allocations: 0.5341 MB / 0.9185 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.5722, allocations: 0.6969 MB / 0.9192 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.5722, allocations: 15.44 kB / 0.9192 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of SimCode: time 3.91e-07/0.5722, allocations: 0 / 0.9192 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of Templates: time 0.002569/0.5748, allocations: 1.316 MB / 0.9205 GB, free: 5.711 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)