Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001415/0.001415, allocations: 108 kB / 15.6 MB, free: 132 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.001649/0.001649, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.467/1.467, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.813/1.813, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001448/0.001448, allocations: 75.2 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2752, allocations: 114.5 MB / 0.7833 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002457/0.2777, allocations: 1.329 MB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.673/0.9507, allocations: 148.1 MB / 0.9293 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.9509, allocations: 0 / 0.9293 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.226e-05/0.951, allocations: 10.14 kB / 0.9293 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.9512, allocations: 12.86 kB / 0.9293 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.9525, allocations: 328.4 kB / 0.9296 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.9526, allocations: 64.28 kB / 0.9297 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.9526, allocations: 7.422 kB / 0.9297 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.999e-05/0.9527, allocations: 33.38 kB / 0.9297 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.9528, allocations: 32.56 kB / 0.9297 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.9528, allocations: 2.844 kB / 0.9297 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009603/0.9538, allocations: 409.2 kB / 0.9301 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.9539, allocations: 16.92 kB / 0.9301 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.954, allocations: 27.06 kB / 0.9302 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.9544, allocations: 163.3 kB / 0.9303 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9544, allocations: 0 / 0.9303 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9544, allocations: 4 kB / 0.9303 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.9545, allocations: 0 / 0.9303 GB, free: 2.848 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007666/0.9552, allocations: 391 kB / 0.9307 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.9553, allocations: 11 kB / 0.9307 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.9558, allocations: 31.47 kB / 0.9307 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.956, allocations: 161.5 kB / 0.9309 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.956, allocations: 12.75 kB / 0.9309 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.956, allocations: 16.05 kB / 0.9309 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.9562, allocations: 80.22 kB / 0.931 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9562, allocations: 1.125 kB / 0.931 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.9563, allocations: 1.438 kB / 0.931 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.9563, allocations: 1.312 kB / 0.931 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.9564, allocations: 46.59 kB / 0.931 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.9566, allocations: 182.6 kB / 0.9312 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.9568, allocations: 102.9 kB / 0.9313 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.9569, allocations: 31.17 kB / 0.9313 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.9571, allocations: 176.1 kB / 0.9315 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.9572, allocations: 38.16 kB / 0.9316 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.9572, allocations: 0 / 0.9316 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001457/0.9587, allocations: 0.5444 MB / 0.9321 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.9587, allocations: 54.03 kB / 0.9321 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.9588, allocations: 101.9 kB / 0.9322 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.9588, allocations: 32.39 kB / 0.9323 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.9589, allocations: 88.52 kB / 0.9323 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.959, allocations: 66.02 kB / 0.9324 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.959, allocations: 43.66 kB / 0.9325 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9592, allocations: 321.8 kB / 0.9328 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.9593, allocations: 34.56 kB / 0.9328 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.9594, allocations: 69.86 kB / 0.9329 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.9596, allocations: 117.1 kB / 0.933 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.9597, allocations: 0 / 0.933 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002272/0.9599, allocations: 158.2 kB / 0.9331 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9599, allocations: 9.188 kB / 0.9331 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.9599, allocations: 2.625 kB / 0.9331 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.96, allocations: 3.375 kB / 0.9331 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.9601, allocations: 41.84 kB / 0.9332 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.9602, allocations: 2.375 kB / 0.9332 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.9602, allocations: 9.391 kB / 0.9332 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.9602, allocations: 11.38 kB / 0.9332 GB, free: 16.71 MB / 0.7325 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 0.0001028/0.9603, allocations: 124.6 kB / 0.9333 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.9604, allocations: 6.656 kB / 0.9333 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.9604, allocations: 17.2 kB / 0.9333 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.9604, allocations: 2.625 kB / 0.9333 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9604, allocations: 0 / 0.9333 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.9605, allocations: 5.438 kB / 0.9333 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.9607, allocations: 192.9 kB / 0.9335 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.9607, allocations: 0 / 0.9335 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.9609, allocations: 44.97 kB / 0.9336 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.9609, allocations: 2.625 kB / 0.9336 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.9609, allocations: 0.6562 kB / 0.9336 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9609, allocations: 3.938 kB / 0.9336 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9609, allocations: 3.281 kB / 0.9336 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.9613, allocations: 218.9 kB / 0.9338 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.9614, allocations: 89.39 kB / 0.9339 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.9614, allocations: 0 / 0.9339 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.9616, allocations: 14.88 kB / 0.9339 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.9616, allocations: 14.02 kB / 0.9339 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.9616, allocations: 7.266 kB / 0.9339 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.9617, allocations: 78.52 kB / 0.934 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9617, allocations: 0 / 0.934 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002228/0.9619, allocations: 32.05 kB / 0.934 GB, free: 16.12 MB / 0.7325 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.0001832/0.9621, allocations: 111 kB / 0.9341 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.9623, allocations: 121.9 kB / 0.9342 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9623, allocations: 0 / 0.9342 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.9624, allocations: 53.86 kB / 0.9343 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.9627, allocations: 22.22 kB / 0.9343 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008272/0.9636, allocations: 0.5157 MB / 0.9348 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.9639, allocations: 0.6986 MB / 0.9355 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.964, allocations: 26.83 kB / 0.9355 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.964, allocations: 14.22 kB / 0.9355 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.9641, allocations: 0 / 0.9355 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.003697/0.9678, allocations: 1.111 MB / 0.9366 GB, free: 14.84 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)