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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7405/0.7405, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009606/0.0009608, allocations: 183.1 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 86.36 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001676/0.001676, allocations: 265 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005226/0.0005226, allocations: 23.98 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4378, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.646/5.084, allocations: 2.059 GB / 2.798 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/5.084, allocations: 75.97 kB / 2.798 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0584/5.142, allocations: 30.08 MB / 2.828 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.573e-06/5.142, allocations: 0 / 2.828 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.495e-06/5.142, allocations: 0 / 2.828 GB, free: 121.8 MB / 0.6667 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.0004348/5.143, allocations: 383.3 kB / 2.828 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/5.143, allocations: 16.03 kB / 2.828 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/5.143, allocations: 28.91 kB / 2.828 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.28e-05/5.143, allocations: 168.3 kB / 2.828 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/5.143, allocations: 4.375 kB / 2.828 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/5.143, allocations: 20.22 kB / 2.828 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/5.144, allocations: 70.22 kB / 2.828 GB, free: 121 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/5.144, allocations: 192 / 2.828 GB, free: 121 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/5.144, allocations: 7.938 kB / 2.828 GB, free: 121 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/5.144, allocations: 4 kB / 2.828 GB, free: 121 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/5.144, allocations: 43.95 kB / 2.828 GB, free: 121 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/5.144, allocations: 173.7 kB / 2.828 GB, free: 120.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/5.144, allocations: 98.66 kB / 2.829 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/5.144, allocations: 28.84 kB / 2.829 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/5.144, allocations: 182.2 kB / 2.829 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/5.145, allocations: 30.56 kB / 2.829 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=12): time 1.933e-06/5.145, allocations: 0 / 2.829 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.001404/5.146, allocations: 0.5513 MB / 2.829 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/5.146, allocations: 55.41 kB / 2.829 GB, free: 119.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/5.146, allocations: 97.84 kB / 2.829 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/5.146, allocations: 33.7 kB / 2.83 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/5.146, allocations: 80.52 kB / 2.83 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/5.146, allocations: 67 kB / 2.83 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/5.146, allocations: 4 kB / 2.83 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.556e-05/5.146, allocations: 323 kB / 2.83 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/5.146, allocations: 39.97 kB / 2.83 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/5.146, allocations: 72.69 kB / 2.83 GB, free: 119 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/5.147, allocations: 111.4 kB / 2.83 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/5.147, allocations: 7.938 kB / 2.83 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002189/5.147, allocations: 149.5 kB / 2.83 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/5.147, allocations: 8 kB / 2.83 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/5.147, allocations: 4 kB / 2.83 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/5.147, allocations: 0 / 2.83 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/5.147, allocations: 43.92 kB / 2.83 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/5.147, allocations: 4 kB / 2.83 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/5.147, allocations: 4 kB / 2.83 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/5.147, allocations: 8 kB / 2.83 GB, free: 118.6 MB / 0.6667 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 8.664e-05/5.147, allocations: 133.6 kB / 2.831 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/5.147, allocations: 7.906 kB / 2.831 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/5.147, allocations: 24.42 kB / 2.831 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/5.147, allocations: 4 kB / 2.831 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/5.147, allocations: 0 / 2.831 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/5.147, allocations: 0 / 2.831 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/5.148, allocations: 193.6 kB / 2.831 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/5.148, allocations: 0 / 2.831 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/5.148, allocations: 43.86 kB / 2.831 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/5.148, allocations: 4 kB / 2.831 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/5.148, allocations: 0 / 2.831 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/5.148, allocations: 0 / 2.831 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/5.148, allocations: 0 / 2.831 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/5.148, allocations: 212.9 kB / 2.831 GB, free: 117.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/5.148, allocations: 93.25 kB / 2.831 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/5.148, allocations: 4.062 kB / 2.831 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/5.148, allocations: 15.98 kB / 2.831 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/5.148, allocations: 7.984 kB / 2.831 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/5.148, allocations: 4 kB / 2.831 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 2.35e-05/5.148, allocations: 83.28 kB / 2.831 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/5.148, allocations: 4.094 kB / 2.831 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003467/5.149, allocations: 63.98 kB / 2.831 GB, free: 117.6 MB / 0.6667 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.0007504/5.15, allocations: 0.5565 MB / 2.832 GB, free: 117.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000206/5.15, allocations: 106.8 kB / 2.832 GB, free: 117 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/5.15, allocations: 0 / 2.832 GB, free: 117 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.224e-05/5.15, allocations: 51.91 kB / 2.832 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/5.15, allocations: 25.28 kB / 2.832 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008353/5.151, allocations: 0.6162 MB / 2.833 GB, free: 116.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/5.151, allocations: 0.6972 MB / 2.833 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001445/5.151, allocations: 28.62 kB / 2.833 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/5.151, allocations: 15.44 kB / 2.833 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/5.151, allocations: 3.938 kB / 2.833 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.01086/5.162, allocations: 8.152 MB / 2.841 GB, free: 107.3 MB / 0.6667 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)