Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009154/0.0009155, allocations: 91.3 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.008628/0.008628, allocations: 173 kB / 16.26 MB, free: 6.613 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.489/1.489, allocations: 205.4 MB / 222.5 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.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.0005445/0.0005444, allocations: 12 kB / 0.6249 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4993, allocations: 106.3 MB / 0.7287 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001498/0.5008, allocations: 1.057 MB / 0.7297 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1572/0.658, allocations: 144.3 MB / 0.8706 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.6582, allocations: 0 / 0.8706 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 5.498e-05/0.6582, allocations: 3.938 kB / 0.8706 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.6584, allocations: 19.91 kB / 0.8707 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.6594, allocations: 298.8 kB / 0.8709 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.6596, allocations: 79.75 kB / 0.871 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.6596, allocations: 4 kB / 0.871 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.6597, allocations: 27.97 kB / 0.871 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.6598, allocations: 43.83 kB / 0.8711 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.6598, allocations: 4 kB / 0.8711 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009596/0.6608, allocations: 498.6 kB / 0.8716 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.6609, allocations: 15.98 kB / 0.8716 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.503e-05/0.6609, allocations: 57.55 kB / 0.8716 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.6613, allocations: 185.5 kB / 0.8718 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6614, allocations: 0 / 0.8718 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6614, allocations: 3.938 kB / 0.8718 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.6614, allocations: 0 / 0.8718 GB, free: 8.301 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.0004562/0.6618, allocations: 375.4 kB / 0.8722 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6619, allocations: 8.031 kB / 0.8722 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004495/0.6623, allocations: 40.8 kB / 0.8722 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.6625, allocations: 164.4 kB / 0.8724 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.6625, allocations: 3.938 kB / 0.8724 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.6625, allocations: 12 kB / 0.8724 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.6627, allocations: 77.64 kB / 0.8725 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6627, allocations: 4 kB / 0.8725 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.6627, allocations: 0 / 0.8725 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.6628, allocations: 4 kB / 0.8725 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.317e-05/0.6629, allocations: 47.89 kB / 0.8725 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.6631, allocations: 189.4 kB / 0.8727 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.6633, allocations: 90.73 kB / 0.8728 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.6633, allocations: 40.84 kB / 0.8728 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.6636, allocations: 190.1 kB / 0.873 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.6636, allocations: 30.56 kB / 0.873 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.6636, allocations: 0 / 0.873 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001348/0.665, allocations: 0.534 MB / 0.8736 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.665, allocations: 55.41 kB / 0.8736 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.6651, allocations: 101.8 kB / 0.8737 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.6651, allocations: 33.7 kB / 0.8737 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.6652, allocations: 80.52 kB / 0.8738 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.6652, allocations: 71.12 kB / 0.8739 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.6653, allocations: 29.7 kB / 0.8739 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6654, allocations: 318.8 kB / 0.8742 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.6654, allocations: 35.92 kB / 0.8742 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.6655, allocations: 74.45 kB / 0.8743 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.6657, allocations: 119.3 kB / 0.8744 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6657, allocations: 4 kB / 0.8744 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002311/0.666, allocations: 153.5 kB / 0.8746 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.666, allocations: 4 kB / 0.8746 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.666, allocations: 0 / 0.8746 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.666, allocations: 4 kB / 0.8746 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.6662, allocations: 47.91 kB / 0.8746 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6662, allocations: 0 / 0.8746 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.6663, allocations: 11.94 kB / 0.8746 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.6663, allocations: 4 kB / 0.8747 GB, free: 5.066 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 9.698e-05/0.6664, allocations: 125.8 kB / 0.8748 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.6664, allocations: 7.906 kB / 0.8748 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.6665, allocations: 20.44 kB / 0.8748 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6665, allocations: 3.938 kB / 0.8748 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6665, allocations: 0 / 0.8748 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.6666, allocations: 7.922 kB / 0.8748 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.6667, allocations: 189.6 kB / 0.875 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.6667, allocations: 0 / 0.875 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.6669, allocations: 43.92 kB / 0.875 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.667, allocations: 0 / 0.875 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.667, allocations: 11.98 kB / 0.875 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.667, allocations: 0 / 0.875 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.667, allocations: 0 / 0.875 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.6673, allocations: 215.9 kB / 0.8753 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.6674, allocations: 93 kB / 0.8753 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.6674, allocations: 4.062 kB / 0.8753 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.6675, allocations: 8.25 kB / 0.8754 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.6676, allocations: 11.92 kB / 0.8754 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.6676, allocations: 12 kB / 0.8754 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.6676, allocations: 83.28 kB / 0.8755 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6677, allocations: 0 / 0.8755 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002266/0.6679, allocations: 27.98 kB / 0.8755 GB, free: 4.125 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.0001388/0.668, allocations: 107.2 kB / 0.8756 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.6682, allocations: 103.8 kB / 0.8757 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6683, allocations: 8.094 kB / 0.8757 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.806e-05/0.6683, allocations: 47.92 kB / 0.8757 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.6686, allocations: 19.98 kB / 0.8758 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/0.6694, allocations: 0.6162 MB / 0.8764 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.6697, allocations: 0.7011 MB / 0.877 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.6698, allocations: 20.64 kB / 0.8771 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.6699, allocations: 19.44 kB / 0.8771 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of SimCode: time 4.51e-07/0.6699, allocations: 0 / 0.8771 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of Templates: time 0.003754/0.6736, allocations: 1.067 MB / 0.8781 GB, free: 1.359 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: