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.001123/0.001123, allocations: 102.7 kB / 16.29 MB, free: 5.98 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.001069/0.001069, allocations: 183.2 kB / 17.22 MB, free: 5.609 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.485/1.485, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.804/1.804, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001504/0.001505, allocations: 59.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2302, allocations: 114.5 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002588/0.2329, allocations: 1.321 MB / 0.7853 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6221/0.855, allocations: 148.1 MB / 0.93 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.8551, allocations: 0 / 0.93 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.8551, allocations: 0 / 0.93 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.8553, allocations: 18.59 kB / 0.93 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.8563, allocations: 325.9 kB / 0.9303 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.8565, allocations: 72.62 kB / 0.9304 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.8565, allocations: 2.75 kB / 0.9304 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.8566, allocations: 28.42 kB / 0.9304 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.8567, allocations: 36.27 kB / 0.9304 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.8567, allocations: 2.75 kB / 0.9304 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008578/0.8576, allocations: 410.8 kB / 0.9308 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.8576, allocations: 21.78 kB / 0.9309 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.8577, allocations: 22.62 kB / 0.9309 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.858, allocations: 162.4 kB / 0.931 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8581, allocations: 3.938 kB / 0.931 GB, free: 4 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8581, allocations: 0 / 0.931 GB, free: 4 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.8581, allocations: 0 / 0.931 GB, free: 4 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.0005163/0.8586, allocations: 386.2 kB / 0.9314 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8587, allocations: 8.031 kB / 0.9314 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.8591, allocations: 40.89 kB / 0.9315 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.8592, allocations: 172.4 kB / 0.9316 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.8593, allocations: 7.938 kB / 0.9316 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.8593, allocations: 8 kB / 0.9316 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.8595, allocations: 77.64 kB / 0.9317 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.8595, allocations: 4 kB / 0.9317 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.8595, allocations: 4 kB / 0.9317 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.8595, allocations: 0 / 0.9317 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.8596, allocations: 56.48 kB / 0.9318 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.8599, allocations: 181.5 kB / 0.9319 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.86, allocations: 94.62 kB / 0.932 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.8601, allocations: 32.84 kB / 0.9321 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.8604, allocations: 182.8 kB / 0.9322 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.8604, allocations: 34.56 kB / 0.9323 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.8604, allocations: 0 / 0.9323 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.00135/0.8618, allocations: 0.5444 MB / 0.9328 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.8618, allocations: 55.41 kB / 0.9329 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.8619, allocations: 101.8 kB / 0.9329 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.862, allocations: 30.36 kB / 0.933 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.862, allocations: 80.52 kB / 0.9331 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.8621, allocations: 63.14 kB / 0.9331 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.8621, allocations: 49.7 kB / 0.9332 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8623, allocations: 322.8 kB / 0.9335 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.8624, allocations: 31.98 kB / 0.9335 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.65e-05/0.8625, allocations: 69.44 kB / 0.9336 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.8626, allocations: 128.5 kB / 0.9337 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8626, allocations: 4 kB / 0.9337 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002227/0.8629, allocations: 150.5 kB / 0.9338 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.8629, allocations: 4.781 kB / 0.9338 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.8629, allocations: 4 kB / 0.9338 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.8629, allocations: 3.984 kB / 0.9338 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.8631, allocations: 39.92 kB / 0.9339 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.8631, allocations: 3.938 kB / 0.9339 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.8632, allocations: 14.44 kB / 0.9339 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.8632, allocations: 4 kB / 0.9339 GB, free: 0.7461 MB / 0.7169 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.00011/0.8633, allocations: 121.8 kB / 0.934 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.8634, allocations: 15.89 kB / 0.934 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.8634, allocations: 16.44 kB / 0.9341 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.8634, allocations: 0 / 0.9341 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.8634, allocations: 4 kB / 0.9341 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.8635, allocations: 7.922 kB / 0.9341 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.8636, allocations: 193.6 kB / 0.9343 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8637, allocations: 4 kB / 0.9343 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.8639, allocations: 31.98 kB / 0.9343 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.8639, allocations: 4 kB / 0.9343 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.8639, allocations: 8 kB / 0.9343 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8639, allocations: 1.125 kB / 0.9343 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8639, allocations: 0 / 0.9343 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.8642, allocations: 209.5 kB / 0.9345 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/0.8643, allocations: 97.06 kB / 0.9346 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.8643, allocations: 0 / 0.9346 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.8645, allocations: 8 kB / 0.9346 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.8645, allocations: 13.86 kB / 0.9346 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.8645, allocations: 15.94 kB / 0.9346 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.8646, allocations: 79.27 kB / 0.9347 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8646, allocations: 0 / 0.9347 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000223/0.8648, allocations: 32 kB / 0.9347 GB, free: 15.81 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.0001404/0.8649, allocations: 105.4 kB / 0.9348 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.8652, allocations: 115.9 kB / 0.9349 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8652, allocations: 0 / 0.9349 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.8652, allocations: 49.47 kB / 0.935 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.8655, allocations: 17.55 kB / 0.935 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000813/0.8664, allocations: 0.5129 MB / 0.9355 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.8666, allocations: 0.7008 MB / 0.9362 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.689e-05/0.8667, allocations: 20.62 kB / 0.9362 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.8668, allocations: 15.44 kB / 0.9362 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8668, allocations: 0 / 0.9362 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.003705/0.8705, allocations: 1.107 MB / 0.9373 GB, free: 13.17 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)