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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.543/1.543, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.0009741/0.000974, allocations: 188.8 kB / 366.7 MB, free: 1.68 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.319/1.319, allocations: 205.3 MB / 0.626 GB, free: 7.129 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.0007717/0.0007717, allocations: 74.84 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.358e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6417, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.671/5.313, allocations: 2.089 GB / 3.062 GB, free: 284.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/5.313, allocations: 72.62 kB / 3.062 GB, free: 284.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05604/5.369, allocations: 29.44 MB / 3.091 GB, free: 281.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/5.369, allocations: 0 / 3.091 GB, free: 281.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.562e-06/5.369, allocations: 3.906 kB / 3.091 GB, free: 281.5 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.0003237/5.369, allocations: 368 kB / 3.091 GB, free: 281.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/5.369, allocations: 14.34 kB / 3.091 GB, free: 281.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003444/5.37, allocations: 41.59 kB / 3.091 GB, free: 281.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.992e-05/5.37, allocations: 163 kB / 3.092 GB, free: 280.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/5.37, allocations: 3.906 kB / 3.092 GB, free: 280.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/5.37, allocations: 11.81 kB / 3.092 GB, free: 280.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/5.37, allocations: 44.69 kB / 3.092 GB, free: 280.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/5.37, allocations: 63.92 kB / 3.092 GB, free: 280.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/5.37, allocations: 3.906 kB / 3.092 GB, free: 280.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/5.37, allocations: 1.5 kB / 3.092 GB, free: 280.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/5.37, allocations: 3.953 kB / 3.092 GB, free: 280.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/5.37, allocations: 151.7 kB / 3.092 GB, free: 280.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/5.37, allocations: 77.33 kB / 3.092 GB, free: 280.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/5.37, allocations: 29.73 kB / 3.092 GB, free: 280.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/5.371, allocations: 175 kB / 3.092 GB, free: 280.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/5.371, allocations: 41.98 kB / 3.092 GB, free: 280.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.472e-06/5.371, allocations: 0 / 3.092 GB, free: 280.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001081/5.372, allocations: 492.7 kB / 3.093 GB, free: 280.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/5.372, allocations: 55.31 kB / 3.093 GB, free: 280.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.454e-05/5.372, allocations: 91.7 kB / 3.093 GB, free: 280 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/5.372, allocations: 25.83 kB / 3.093 GB, free: 280 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.49e-05/5.372, allocations: 88.33 kB / 3.093 GB, free: 279.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/5.372, allocations: 68.02 kB / 3.093 GB, free: 279.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/5.372, allocations: 0 / 3.093 GB, free: 279.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/5.372, allocations: 321.9 kB / 3.093 GB, free: 279.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/5.372, allocations: 32 kB / 3.093 GB, free: 279.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/5.372, allocations: 59.89 kB / 3.093 GB, free: 279.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.074e-05/5.372, allocations: 50.28 kB / 3.093 GB, free: 279.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/5.372, allocations: 0 / 3.093 GB, free: 279.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001697/5.372, allocations: 134.5 kB / 3.094 GB, free: 279.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/5.372, allocations: 3.906 kB / 3.094 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/5.372, allocations: 2.578 kB / 3.094 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/5.372, allocations: 3.906 kB / 3.094 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/5.373, allocations: 39.59 kB / 3.094 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/5.373, allocations: 3.906 kB / 3.094 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/5.373, allocations: 0.6562 kB / 3.094 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/5.373, allocations: 7.375 kB / 3.094 GB, free: 279.5 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 () * 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 5.519e-05/5.373, allocations: 112.8 kB / 3.094 GB, free: 279.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/5.373, allocations: 8.375 kB / 3.094 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/5.373, allocations: 12.67 kB / 3.094 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/5.373, allocations: 8.359 kB / 3.094 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/5.373, allocations: 0 / 3.094 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/5.373, allocations: 5.016 kB / 3.094 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/5.373, allocations: 166.4 kB / 3.094 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/5.373, allocations: 0 / 3.094 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/5.373, allocations: 36.08 kB / 3.094 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/5.373, allocations: 4 kB / 3.094 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/5.373, allocations: 0.5156 kB / 3.094 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/5.373, allocations: 7.75 kB / 3.094 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.373, allocations: 0.5625 kB / 3.094 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/5.373, allocations: 192.1 kB / 3.094 GB, free: 279.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/5.374, allocations: 94.31 kB / 3.094 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/5.374, allocations: 0 / 3.094 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/5.374, allocations: 5.922 kB / 3.094 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/5.374, allocations: 15.61 kB / 3.094 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/5.374, allocations: 7.359 kB / 3.094 GB, free: 279 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.609e-05/5.374, allocations: 75.84 kB / 3.094 GB, free: 278.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/5.374, allocations: 0 / 3.094 GB, free: 278.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002659/5.374, allocations: 55.81 kB / 3.094 GB, free: 278.9 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 () * 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.0006884/5.375, allocations: 0.6399 MB / 3.095 GB, free: 278.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001706/5.375, allocations: 91.81 kB / 3.095 GB, free: 278.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/5.375, allocations: 0 / 3.095 GB, free: 278.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/5.375, allocations: 53.25 kB / 3.095 GB, free: 278.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/5.375, allocations: 7.344 kB / 3.095 GB, free: 278.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/5.376, allocations: 449.2 kB / 3.096 GB, free: 278.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/5.376, allocations: 0.7016 MB / 3.096 GB, free: 277.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001252/5.376, allocations: 29.72 kB / 3.096 GB, free: 277.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/5.376, allocations: 15.25 kB / 3.096 GB, free: 277.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/5.376, allocations: 4 kB / 3.096 GB, free: 277.7 MB / 0.948 GB Notification: Performance of Templates: time 0.00671/5.383, allocations: 4.124 MB / 3.1 GB, free: 277.1 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)