Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8309/0.8309, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 180.8 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 88.03 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 295.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.83e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4111, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.936/4.347, allocations: 1.704 GB / 2.461 GB, free: 82.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/4.347, allocations: 75.84 kB / 2.461 GB, free: 82.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05736/4.404, allocations: 29.18 MB / 2.49 GB, free: 53.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/4.404, allocations: 0 / 2.49 GB, free: 53.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.831e-06/4.404, allocations: 4 kB / 2.49 GB, free: 53.49 MB / 0.698 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.0003221/4.405, allocations: 366.4 kB / 2.49 GB, free: 53.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/4.405, allocations: 8.031 kB / 2.49 GB, free: 53.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/4.405, allocations: 39.86 kB / 2.49 GB, free: 53.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.403e-05/4.405, allocations: 174.9 kB / 2.491 GB, free: 52.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/4.405, allocations: 8 kB / 2.491 GB, free: 52.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/4.405, allocations: 8 kB / 2.491 GB, free: 52.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001023/4.405, allocations: 35.97 kB / 2.491 GB, free: 52.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/4.405, allocations: 65.66 kB / 2.491 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/4.405, allocations: 4 kB / 2.491 GB, free: 52.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/4.405, allocations: 0 / 2.491 GB, free: 52.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/4.406, allocations: 0 / 2.491 GB, free: 52.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/4.406, allocations: 154.1 kB / 2.491 GB, free: 52.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/4.406, allocations: 86.55 kB / 2.491 GB, free: 52.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/4.406, allocations: 24.94 kB / 2.491 GB, free: 52.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/4.406, allocations: 182.2 kB / 2.491 GB, free: 52.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/4.406, allocations: 34.89 kB / 2.491 GB, free: 52.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.024e-06/4.406, allocations: 0 / 2.491 GB, free: 52.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001059/4.407, allocations: 487.2 kB / 2.492 GB, free: 51.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.6e-05/4.407, allocations: 55.41 kB / 2.492 GB, free: 51.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.463e-05/4.407, allocations: 89.09 kB / 2.492 GB, free: 51.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/4.407, allocations: 29.73 kB / 2.492 GB, free: 51.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.628e-05/4.407, allocations: 80.52 kB / 2.492 GB, free: 51.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/4.407, allocations: 70.94 kB / 2.492 GB, free: 51.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/4.407, allocations: 0 / 2.492 GB, free: 51.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.83e-05/4.407, allocations: 318.8 kB / 2.492 GB, free: 50.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/4.407, allocations: 31.98 kB / 2.492 GB, free: 50.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/4.407, allocations: 64.38 kB / 2.492 GB, free: 50.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/4.408, allocations: 47.92 kB / 2.492 GB, free: 50.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/4.408, allocations: 0 / 2.492 GB, free: 50.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001653/4.408, allocations: 129.5 kB / 2.492 GB, free: 50.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/4.408, allocations: 9.25 kB / 2.492 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/4.408, allocations: 0 / 2.492 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/4.408, allocations: 0 / 2.492 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/4.408, allocations: 43.92 kB / 2.492 GB, free: 50.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/4.408, allocations: 4 kB / 2.492 GB, free: 50.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/4.408, allocations: 0 / 2.492 GB, free: 50.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/4.408, allocations: 4 kB / 2.492 GB, free: 50.59 MB / 0.698 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.205e-05/4.408, allocations: 120.8 kB / 2.493 GB, free: 50.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/4.408, allocations: 11.89 kB / 2.493 GB, free: 50.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/4.408, allocations: 20.52 kB / 2.493 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/4.408, allocations: 4 kB / 2.493 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/4.408, allocations: 0 / 2.493 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/4.408, allocations: 0 / 2.493 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.173e-05/4.408, allocations: 158.2 kB / 2.493 GB, free: 50.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/4.408, allocations: 8.109 kB / 2.493 GB, free: 50.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/4.408, allocations: 43.88 kB / 2.493 GB, free: 50.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/4.408, allocations: 4 kB / 2.493 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/4.408, allocations: 0 / 2.493 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/4.408, allocations: 0 / 2.493 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/4.408, allocations: 0 / 2.493 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/4.409, allocations: 190.7 kB / 2.493 GB, free: 49.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/4.409, allocations: 89 kB / 2.493 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/4.409, allocations: 7.953 kB / 2.493 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/4.409, allocations: 4 kB / 2.493 GB, free: 49.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/4.409, allocations: 16.05 kB / 2.493 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/4.409, allocations: 4 kB / 2.493 GB, free: 49.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.768e-05/4.409, allocations: 75.28 kB / 2.493 GB, free: 49.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/4.409, allocations: 0 / 2.493 GB, free: 49.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002771/4.409, allocations: 51.98 kB / 2.493 GB, free: 49.73 MB / 0.698 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.0006721/4.41, allocations: 0.6483 MB / 2.494 GB, free: 49.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001359/4.41, allocations: 87.88 kB / 2.494 GB, free: 48.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/4.41, allocations: 11.94 kB / 2.494 GB, free: 48.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.284e-05/4.41, allocations: 48.8 kB / 2.494 GB, free: 48.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/4.41, allocations: 7.984 kB / 2.494 GB, free: 48.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/4.411, allocations: 453.6 kB / 2.494 GB, free: 48.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/4.411, allocations: 0.7008 MB / 2.495 GB, free: 47.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001323/4.411, allocations: 24.77 kB / 2.495 GB, free: 47.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/4.411, allocations: 15.44 kB / 2.495 GB, free: 47.68 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/4.411, allocations: 0 / 2.495 GB, free: 47.68 MB / 0.698 GB Notification: Performance of Templates: time 0.006289/4.417, allocations: 4.147 MB / 2.499 GB, free: 43.54 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)