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.00121/0.001211, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001331/0.001331, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.76/1.76, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005817/0.0005819, allocations: 16.62 kB / 0.6735 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2869, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001437/0.2884, allocations: 1.023 MB / 0.7881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.758/1.046, allocations: 125.2 MB / 0.9103 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/1.047, allocations: 0 / 0.9103 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/1.047, allocations: 5.016 kB / 0.9103 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.219e-05/1.047, allocations: 10.47 kB / 0.9103 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008834/1.048, allocations: 237.6 kB / 0.9106 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/1.048, allocations: 43.17 kB / 0.9106 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/1.048, allocations: 5.688 kB / 0.9106 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/1.048, allocations: 27.92 kB / 0.9106 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/1.048, allocations: 29.91 kB / 0.9107 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/1.048, allocations: 2.75 kB / 0.9107 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007904/1.049, allocations: 291.7 kB / 0.911 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/1.049, allocations: 14.12 kB / 0.911 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/1.049, allocations: 36.28 kB / 0.911 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/1.049, allocations: 102.1 kB / 0.9111 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/1.049, allocations: 2.625 kB / 0.9111 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/1.049, allocations: 1.156 kB / 0.9111 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.479e-06/1.049, allocations: 0 / 0.9111 GB, free: 6.008 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.0007448/1.05, allocations: 369.8 kB / 0.9115 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.05, allocations: 12.25 kB / 0.9115 GB, free: 21.63 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004857/1.05, allocations: 38.75 kB / 0.9115 GB, free: 21.63 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/1.05, allocations: 161.1 kB / 0.9117 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/1.051, allocations: 7.453 kB / 0.9117 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/1.051, allocations: 13.75 kB / 0.9117 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/1.051, allocations: 77.25 kB / 0.9117 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.051, allocations: 0.7969 kB / 0.9117 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/1.051, allocations: 4.312 kB / 0.9118 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.051, allocations: 0.8438 kB / 0.9118 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/1.051, allocations: 52.56 kB / 0.9118 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/1.051, allocations: 184.4 kB / 0.912 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/1.051, allocations: 96.22 kB / 0.9121 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/1.051, allocations: 6.844 kB / 0.9121 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/1.051, allocations: 34.53 kB / 0.9121 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/1.051, allocations: 5.062 kB / 0.9121 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.00138/1.053, allocations: 0.5329 MB / 0.9126 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.053, allocations: 61.05 kB / 0.9127 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/1.053, allocations: 105.6 kB / 0.9128 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/1.053, allocations: 31.05 kB / 0.9128 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/1.053, allocations: 81.58 kB / 0.9129 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/1.053, allocations: 70.09 kB / 0.913 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/1.053, allocations: 4.062 kB / 0.913 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.053, allocations: 318.4 kB / 0.9133 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/1.053, allocations: 37.2 kB / 0.9133 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/1.053, allocations: 69.88 kB / 0.9134 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.651e-05/1.053, allocations: 45.41 kB / 0.9134 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/1.053, allocations: 0 / 0.9134 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002519/1.054, allocations: 157.4 kB / 0.9136 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.054, allocations: 5.656 kB / 0.9136 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.054, allocations: 1.312 kB / 0.9136 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/1.054, allocations: 4.125 kB / 0.9136 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/1.054, allocations: 40.09 kB / 0.9136 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.054, allocations: 1.562 kB / 0.9136 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/1.054, allocations: 14.8 kB / 0.9136 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.054, allocations: 8.078 kB / 0.9136 GB, free: 20.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.054, allocations: 123.5 kB / 0.9138 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/1.054, allocations: 13.61 kB / 0.9138 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/1.054, allocations: 15.16 kB / 0.9138 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.054, allocations: 1.938 kB / 0.9138 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.054, allocations: 1.688 kB / 0.9138 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.054, allocations: 0.7969 kB / 0.9138 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/1.054, allocations: 194.7 kB / 0.914 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.054, allocations: 6 kB / 0.914 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/1.055, allocations: 38.58 kB / 0.914 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.055, allocations: 1.875 kB / 0.914 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.055, allocations: 4.688 kB / 0.914 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.055, allocations: 3.875 kB / 0.914 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.055, allocations: 1.797 kB / 0.914 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/1.055, allocations: 209.2 kB / 0.9142 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/1.055, allocations: 90.31 kB / 0.9143 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/1.055, allocations: 8.719 kB / 0.9143 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/1.055, allocations: 10.59 kB / 0.9143 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/1.055, allocations: 10.58 kB / 0.9143 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/1.055, allocations: 8.156 kB / 0.9144 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.394e-05/1.055, allocations: 76.31 kB / 0.9144 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.055, allocations: 3.906 kB / 0.9144 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002238/1.056, allocations: 26.97 kB / 0.9145 GB, free: 19.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001642/1.056, allocations: 113.5 kB / 0.9146 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002245/1.056, allocations: 106.2 kB / 0.9147 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.056, allocations: 0.8125 kB / 0.9147 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-05/1.056, allocations: 50.86 kB / 0.9147 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/1.056, allocations: 12.38 kB / 0.9147 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008215/1.057, allocations: 0.6214 MB / 0.9153 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.057, allocations: 0.7027 MB / 0.916 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000126/1.058, allocations: 27.59 kB / 0.916 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/1.058, allocations: 15 kB / 0.9161 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/1.058, allocations: 0 / 0.9161 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of Templates: time 0.003646/1.061, allocations: 1.014 MB / 0.9171 GB, free: 18.27 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: