Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00118/0.00118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001571/0.001571, allocations: 193.6 kB / 16.25 MB, free: 6.617 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 61.95 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3398, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002583/0.3424, allocations: 1.397 MB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.5112, allocations: 145.9 MB / 1.212 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.5113, allocations: 0 / 1.212 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.926e-05/0.5114, allocations: 7.938 kB / 1.212 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.5115, allocations: 15.91 kB / 1.212 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.5128, allocations: 302.9 kB / 1.212 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.5129, allocations: 59.78 kB / 1.212 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.513, allocations: 7.984 kB / 1.212 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.513, allocations: 27.92 kB / 1.212 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.5132, allocations: 39.83 kB / 1.212 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.5132, allocations: 4 kB / 1.212 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.5142, allocations: 438.8 kB / 1.212 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.5143, allocations: 19.95 kB / 1.212 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.5143, allocations: 23.88 kB / 1.212 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.5148, allocations: 187.8 kB / 1.213 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5148, allocations: 0 / 1.213 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.19e-06/0.5148, allocations: 0 / 1.213 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.5149, allocations: 3.938 kB / 1.213 GB, free: 5.832 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.0005614/0.5154, allocations: 391.3 kB / 1.213 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5155, allocations: 12.03 kB / 1.213 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/0.516, allocations: 32.89 kB / 1.213 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.5161, allocations: 168.3 kB / 1.213 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5161, allocations: 7.938 kB / 1.213 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.5162, allocations: 11.91 kB / 1.213 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.5164, allocations: 77.64 kB / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5164, allocations: 4 kB / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.5164, allocations: 7.938 kB / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5164, allocations: 0 / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.5165, allocations: 55.83 kB / 1.213 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.5168, allocations: 185.6 kB / 1.214 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.517, allocations: 86.69 kB / 1.214 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.5171, allocations: 36.78 kB / 1.214 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.5173, allocations: 174.2 kB / 1.214 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5174, allocations: 38.56 kB / 1.214 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.5174, allocations: 0 / 1.214 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001482/0.5189, allocations: 0.5411 MB / 1.214 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5189, allocations: 51.41 kB / 1.214 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.519, allocations: 101.8 kB / 1.215 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.519, allocations: 29.7 kB / 1.215 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.5191, allocations: 84.5 kB / 1.215 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.5192, allocations: 70.94 kB / 1.215 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.5192, allocations: 53.73 kB / 1.215 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5194, allocations: 310.8 kB / 1.215 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.5194, allocations: 47.91 kB / 1.215 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.733e-05/0.5195, allocations: 66.25 kB / 1.215 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.5197, allocations: 115.4 kB / 1.215 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5197, allocations: 4 kB / 1.215 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000239/0.5199, allocations: 157.5 kB / 1.215 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.52, allocations: 8 kB / 1.215 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.52, allocations: 0 / 1.215 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.52, allocations: 0 / 1.215 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.5202, allocations: 39.92 kB / 1.215 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5202, allocations: 4 kB / 1.216 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.5203, allocations: 7.938 kB / 1.216 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.5203, allocations: 7.938 kB / 1.216 GB, free: 2.566 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 0.000106/0.5204, allocations: 133.8 kB / 1.216 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.5204, allocations: 4 kB / 1.216 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.5205, allocations: 16.44 kB / 1.216 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5205, allocations: 4 kB / 1.216 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5205, allocations: 0 / 1.216 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5205, allocations: 3.938 kB / 1.216 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.5207, allocations: 193.6 kB / 1.216 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5207, allocations: 0 / 1.216 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.5209, allocations: 35.97 kB / 1.216 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.5209, allocations: 4 kB / 1.216 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.5209, allocations: 4 kB / 1.216 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5209, allocations: 4.281 kB / 1.216 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5209, allocations: 4 kB / 1.216 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.5212, allocations: 210.4 kB / 1.216 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.5213, allocations: 97.14 kB / 1.216 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.5214, allocations: 3.938 kB / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.5215, allocations: 11.98 kB / 1.216 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.5215, allocations: 15.92 kB / 1.216 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.5216, allocations: 12 kB / 1.216 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.5216, allocations: 75.28 kB / 1.216 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5216, allocations: 0 / 1.216 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002349/0.5218, allocations: 28 kB / 1.216 GB, free: 1.629 MB / 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.0001858/0.522, allocations: 107.2 kB / 1.216 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.5223, allocations: 115.9 kB / 1.217 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5223, allocations: 4.094 kB / 1.217 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.5224, allocations: 53.77 kB / 1.217 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.5227, allocations: 19.98 kB / 1.217 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.5236, allocations: 0.5364 MB / 1.217 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.5239, allocations: 0.7008 MB / 1.218 GB, free: 36 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.524, allocations: 16.64 kB / 1.218 GB, free: 16 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.5241, allocations: 19.44 kB / 1.218 GB, free: 16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.5241, allocations: 0 / 1.218 GB, free: 16 MB / 0.9825 GB Notification: Performance of Templates: time 0.003968/0.5281, allocations: 1.105 MB / 1.219 GB, free: 14.89 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)