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/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 293 MB / 309 MB, free: 4.781 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009672/0.0009672, allocations: 179.3 kB / 378.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 0.6383 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008244/0.0008244, allocations: 92.33 kB / 0.7527 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005583/0.0005586, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2916, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.949/5.241, allocations: 2.09 GB / 3.08 GB, free: 127.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/5.241, allocations: 72.58 kB / 3.08 GB, free: 127.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06612/5.307, allocations: 30.08 MB / 3.11 GB, free: 97.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.495e-06/5.307, allocations: 0 / 3.11 GB, free: 97.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.233e-06/5.307, allocations: 3.938 kB / 3.11 GB, free: 97.04 MB / 0.948 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.0004207/5.308, allocations: 384.8 kB / 3.11 GB, free: 96.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/5.308, allocations: 8.031 kB / 3.11 GB, free: 96.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/5.308, allocations: 40.83 kB / 3.11 GB, free: 96.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.907e-05/5.308, allocations: 164.3 kB / 3.11 GB, free: 96.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/5.308, allocations: 8.375 kB / 3.11 GB, free: 96.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/5.308, allocations: 12.28 kB / 3.11 GB, free: 96.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/5.309, allocations: 78.14 kB / 3.11 GB, free: 96.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/5.309, allocations: 4.188 kB / 3.11 GB, free: 96.26 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/5.309, allocations: 3.938 kB / 3.11 GB, free: 96.26 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/5.309, allocations: 0 / 3.11 GB, free: 96.26 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/5.309, allocations: 47.91 kB / 3.11 GB, free: 96.21 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/5.309, allocations: 181.6 kB / 3.111 GB, free: 95.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/5.309, allocations: 82.59 kB / 3.111 GB, free: 95.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/5.309, allocations: 32.94 kB / 3.111 GB, free: 95.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/5.309, allocations: 178.2 kB / 3.111 GB, free: 95.65 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/5.309, allocations: 38.56 kB / 3.111 GB, free: 95.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/5.309, allocations: 3.938 kB / 3.111 GB, free: 95.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001112/5.31, allocations: 0.5401 MB / 3.111 GB, free: 95.01 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/5.311, allocations: 51.41 kB / 3.111 GB, free: 94.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.836e-05/5.311, allocations: 93.86 kB / 3.112 GB, free: 94.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/5.311, allocations: 29.7 kB / 3.112 GB, free: 94.81 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.332e-05/5.311, allocations: 80.52 kB / 3.112 GB, free: 94.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/5.311, allocations: 74.98 kB / 3.112 GB, free: 94.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/5.311, allocations: 8 kB / 3.112 GB, free: 94.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/5.311, allocations: 323 kB / 3.112 GB, free: 94.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/5.311, allocations: 31.98 kB / 3.112 GB, free: 94.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/5.311, allocations: 72.56 kB / 3.112 GB, free: 94.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/5.311, allocations: 109.3 kB / 3.112 GB, free: 94.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/5.311, allocations: 7.922 kB / 3.112 GB, free: 94.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001929/5.311, allocations: 158.4 kB / 3.112 GB, free: 93.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/5.311, allocations: 6.031 kB / 3.112 GB, free: 93.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/5.311, allocations: 4 kB / 3.112 GB, free: 93.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/5.311, allocations: 4 kB / 3.112 GB, free: 93.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/5.311, allocations: 39.92 kB / 3.112 GB, free: 93.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/5.311, allocations: 6.016 kB / 3.112 GB, free: 93.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/5.312, allocations: 8 kB / 3.113 GB, free: 93.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/5.312, allocations: 9.688 kB / 3.113 GB, free: 93.85 MB / 0.948 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 7.98e-05/5.312, allocations: 129.7 kB / 3.113 GB, free: 93.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/5.312, allocations: 7.906 kB / 3.113 GB, free: 93.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/5.312, allocations: 24.44 kB / 3.113 GB, free: 93.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/5.312, allocations: 0 / 3.113 GB, free: 93.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/5.312, allocations: 3.938 kB / 3.113 GB, free: 93.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/5.312, allocations: 3.984 kB / 3.113 GB, free: 93.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/5.312, allocations: 197.6 kB / 3.113 GB, free: 93.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/5.312, allocations: 0 / 3.113 GB, free: 93.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/5.312, allocations: 35.98 kB / 3.113 GB, free: 93.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/5.312, allocations: 0 / 3.113 GB, free: 93.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/5.312, allocations: 8 kB / 3.113 GB, free: 93.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/5.312, allocations: 0 / 3.113 GB, free: 93.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/5.312, allocations: 0 / 3.113 GB, free: 93.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/5.312, allocations: 215.6 kB / 3.113 GB, free: 93.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/5.312, allocations: 93.06 kB / 3.113 GB, free: 93.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/5.312, allocations: 0 / 3.113 GB, free: 93.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/5.313, allocations: 8 kB / 3.113 GB, free: 93.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/5.313, allocations: 11.98 kB / 3.113 GB, free: 93.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/5.313, allocations: 8 kB / 3.113 GB, free: 93.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.72e-05/5.313, allocations: 79.28 kB / 3.113 GB, free: 92.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.313, allocations: 0 / 3.113 GB, free: 92.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003228/5.313, allocations: 63.98 kB / 3.113 GB, free: 92.89 MB / 0.948 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.0006019/5.314, allocations: 0.5562 MB / 3.114 GB, free: 92.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001788/5.314, allocations: 107.8 kB / 3.114 GB, free: 92.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/5.314, allocations: 3.938 kB / 3.114 GB, free: 92.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.698e-05/5.314, allocations: 53.47 kB / 3.114 GB, free: 92.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/5.314, allocations: 16.47 kB / 3.114 GB, free: 92.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/5.315, allocations: 0.6175 MB / 3.115 GB, free: 91.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/5.315, allocations: 0.7011 MB / 3.115 GB, free: 90.79 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000135/5.315, allocations: 20.64 kB / 3.115 GB, free: 90.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/5.315, allocations: 15.44 kB / 3.115 GB, free: 90.75 MB / 0.948 GB Notification: Performance of SimCode: time 2.2e-07/5.315, allocations: 0 / 3.115 GB, free: 90.75 MB / 0.948 GB Notification: Performance of Templates: time 0.009827/5.325, allocations: 8.161 MB / 3.123 GB, free: 82.59 MB / 0.948 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)