Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008658/0.0008658, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007768/0.007769, allocations: 170 kB / 16.26 MB, free: 6.613 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.471/1.471, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 16.83 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3545, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001503/0.356, allocations: 1.054 MB / 1.075 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1622/0.5183, allocations: 144.3 MB / 1.216 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.5184, allocations: 0 / 1.216 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.488e-05/0.5185, allocations: 0 / 1.216 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.5186, allocations: 11.92 kB / 1.216 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009264/0.5195, allocations: 302.8 kB / 1.216 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.5196, allocations: 87.67 kB / 1.216 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.5197, allocations: 7.984 kB / 1.216 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.5197, allocations: 31.91 kB / 1.216 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.5198, allocations: 35.89 kB / 1.216 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.5199, allocations: 8 kB / 1.216 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008302/0.5207, allocations: 494.7 kB / 1.217 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.5208, allocations: 11.98 kB / 1.217 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.5208, allocations: 57.55 kB / 1.217 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.5211, allocations: 179.8 kB / 1.217 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5211, allocations: 4 kB / 1.217 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.826e-06/0.5212, allocations: 0 / 1.217 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.5212, allocations: 7.938 kB / 1.217 GB, free: 4.441 MB / 0.9669 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.0004445/0.5216, allocations: 371.4 kB / 1.218 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.5217, allocations: 12.03 kB / 1.218 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.5221, allocations: 32.89 kB / 1.218 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.5222, allocations: 176.2 kB / 1.218 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.5222, allocations: 7.938 kB / 1.218 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.5223, allocations: 11.91 kB / 1.218 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.5224, allocations: 81.64 kB / 1.218 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.5225, allocations: 0 / 1.218 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.5225, allocations: 4 kB / 1.218 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5225, allocations: 0 / 1.218 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.5226, allocations: 51.89 kB / 1.218 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.5228, allocations: 181.6 kB / 1.218 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.523, allocations: 90.62 kB / 1.218 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.523, allocations: 32.84 kB / 1.218 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.5233, allocations: 178.2 kB / 1.218 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5233, allocations: 38.56 kB / 1.218 GB, free: 3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.5233, allocations: 0 / 1.218 GB, free: 3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001303/0.5246, allocations: 0.5432 MB / 1.219 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.5247, allocations: 51.41 kB / 1.219 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.5248, allocations: 105.8 kB / 1.219 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5248, allocations: 29.7 kB / 1.219 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.5248, allocations: 84.52 kB / 1.219 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.5249, allocations: 70.94 kB / 1.219 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.525, allocations: 25.7 kB / 1.219 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5251, allocations: 327 kB / 1.22 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.5252, allocations: 31.98 kB / 1.22 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.5252, allocations: 70.25 kB / 1.22 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.5254, allocations: 115.3 kB / 1.22 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5254, allocations: 0 / 1.22 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002196/0.5257, allocations: 157.4 kB / 1.22 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5257, allocations: 8 kB / 1.22 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5257, allocations: 0 / 1.22 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5257, allocations: 4 kB / 1.22 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.5259, allocations: 39.97 kB / 1.22 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.5259, allocations: 8.094 kB / 1.22 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.184e-05/0.526, allocations: 4.062 kB / 1.22 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.526, allocations: 23.92 kB / 1.22 GB, free: 1.199 MB / 0.9669 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 8.428e-05/0.5261, allocations: 117.8 kB / 1.22 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.5261, allocations: 11.91 kB / 1.22 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.5262, allocations: 16.44 kB / 1.22 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5262, allocations: 4 kB / 1.22 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5262, allocations: 0 / 1.22 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.5262, allocations: 7.922 kB / 1.22 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.5263, allocations: 189.6 kB / 1.22 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.5264, allocations: 0 / 1.22 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.5266, allocations: 47.86 kB / 1.22 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5266, allocations: 0 / 1.22 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5266, allocations: 0 / 1.22 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5266, allocations: 4 kB / 1.22 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5266, allocations: 4 kB / 1.22 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.5269, allocations: 214.7 kB / 1.221 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.527, allocations: 89 kB / 1.221 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.527, allocations: 8.062 kB / 1.221 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.5271, allocations: 4 kB / 1.221 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.5272, allocations: 15.92 kB / 1.221 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.5272, allocations: 4 kB / 1.221 GB, free: 392 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.5272, allocations: 79.28 kB / 1.221 GB, free: 312 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5272, allocations: 4 kB / 1.221 GB, free: 308 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002325/0.5275, allocations: 28 kB / 1.221 GB, free: 280 kB / 0.9669 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.0001315/0.5276, allocations: 115.2 kB / 1.221 GB, free: 152 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.5278, allocations: 99.89 kB / 1.221 GB, free: 52 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5278, allocations: 3.938 kB / 1.221 GB, free: 48 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.402e-05/0.5279, allocations: 61.39 kB / 1.221 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.5282, allocations: 15.94 kB / 1.221 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008563/0.5291, allocations: 0.6135 MB / 1.222 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.5293, allocations: 0.705 MB / 1.222 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.5295, allocations: 24.62 kB / 1.222 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.5296, allocations: 15.44 kB / 1.222 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.5296, allocations: 0 / 1.222 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of Templates: time 0.003661/0.5332, allocations: 1.062 MB / 1.224 GB, free: 13.5 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)