Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8273/0.8273, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001079/0.001079, allocations: 187.5 kB / 182.2 MB, free: 9.469 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.537/1.537, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009854/0.0009853, allocations: 88.11 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001883/0.001883, allocations: 271.6 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.725e-05, allocations: 4 kB / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4589, allocations: 82.76 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/1.837, allocations: 415.8 MB / 1.163 GB, free: 247.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.838, allocations: 73.55 kB / 1.163 GB, free: 247.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08745/1.925, allocations: 36.18 MB / 1.199 GB, free: 240.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/1.925, allocations: 0 / 1.199 GB, free: 240.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.925, allocations: 3.969 kB / 1.199 GB, free: 240.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006467/1.926, allocations: 357.6 kB / 1.199 GB, free: 240.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.926, allocations: 11.91 kB / 1.199 GB, free: 240.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/1.926, allocations: 11.94 kB / 1.199 GB, free: 240.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/1.926, allocations: 170.9 kB / 1.199 GB, free: 240.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/1.926, allocations: 4 kB / 1.199 GB, free: 240.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/1.926, allocations: 7.875 kB / 1.199 GB, free: 240.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/1.926, allocations: 15.77 kB / 1.199 GB, free: 240.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/1.926, allocations: 45.39 kB / 1.199 GB, free: 240.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.926, allocations: 3.969 kB / 1.199 GB, free: 240.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.926, allocations: 0 / 1.199 GB, free: 240.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.926, allocations: 7.641 kB / 1.199 GB, free: 240.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/1.927, allocations: 141.8 kB / 1.2 GB, free: 240 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/1.927, allocations: 51.17 kB / 1.2 GB, free: 240 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/1.927, allocations: 16.73 kB / 1.2 GB, free: 240 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009959/1.937, allocations: 3.139 MB / 1.203 GB, free: 238.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.937, allocations: 38.56 kB / 1.203 GB, free: 238.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/1.937, allocations: 0 / 1.203 GB, free: 238.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0288/1.966, allocations: 13.4 MB / 1.216 GB, free: 227.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/1.966, allocations: 51.41 kB / 1.216 GB, free: 227.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.432e-05/1.966, allocations: 89 kB / 1.216 GB, free: 227.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/1.966, allocations: 29.7 kB / 1.216 GB, free: 227.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.679e-05/1.966, allocations: 80.14 kB / 1.216 GB, free: 227.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/1.966, allocations: 35.27 kB / 1.216 GB, free: 227.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/1.966, allocations: 0 / 1.216 GB, free: 227.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/1.966, allocations: 318.8 kB / 1.216 GB, free: 227 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/1.966, allocations: 19.94 kB / 1.216 GB, free: 227 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/1.966, allocations: 22.12 kB / 1.216 GB, free: 227 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/1.966, allocations: 19.66 kB / 1.216 GB, free: 227 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.966, allocations: 128 / 1.216 GB, free: 227 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001778/1.966, allocations: 96.72 kB / 1.217 GB, free: 226.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.966, allocations: 4 kB / 1.217 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.966, allocations: 0 / 1.217 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.966, allocations: 3.938 kB / 1.217 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/1.966, allocations: 23.7 kB / 1.217 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/1.966, allocations: 1.016 kB / 1.217 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/1.966, allocations: 4 kB / 1.217 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/1.966, allocations: 7.938 kB / 1.217 GB, free: 226.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.249e-05/1.966, allocations: 112.9 kB / 1.217 GB, free: 226.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/1.967, allocations: 11.91 kB / 1.217 GB, free: 226.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/1.967, allocations: 109.2 kB / 1.217 GB, free: 226.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/1.967, allocations: 0 / 1.217 GB, free: 226.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.967, allocations: 0 / 1.217 GB, free: 226.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.967, allocations: 4 kB / 1.217 GB, free: 226.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.282e-05/1.967, allocations: 157.7 kB / 1.217 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.967, allocations: 0 / 1.217 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/1.967, allocations: 23.47 kB / 1.217 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.967, allocations: 0 / 1.217 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.967, allocations: 3.75 kB / 1.217 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.967, allocations: 7.938 kB / 1.217 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.967, allocations: 3.938 kB / 1.217 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/1.967, allocations: 144.3 kB / 1.217 GB, free: 226.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/1.967, allocations: 96.91 kB / 1.217 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/1.967, allocations: 3.516 kB / 1.217 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.968, allocations: 8 kB / 1.217 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/1.968, allocations: 11.84 kB / 1.217 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.968, allocations: 7.75 kB / 1.217 GB, free: 226.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.053e-05/1.968, allocations: 79.28 kB / 1.217 GB, free: 226.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.968, allocations: 4 kB / 1.217 GB, free: 226.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002081/1.97, allocations: 0.5971 MB / 1.218 GB, free: 225.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.004187/1.974, allocations: 0.8281 MB / 1.219 GB, free: 224.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001319/1.974, allocations: 58.02 kB / 1.219 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.974, allocations: 0 / 1.219 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/1.974, allocations: 31.94 kB / 1.219 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/1.974, allocations: 8 kB / 1.219 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/1.975, allocations: 278.6 kB / 1.219 GB, free: 224.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/1.975, allocations: 0.6879 MB / 1.22 GB, free: 223.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.795e-05/1.975, allocations: 28.67 kB / 1.22 GB, free: 223.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/1.975, allocations: 19.44 kB / 1.22 GB, free: 223.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/1.975, allocations: 3.938 kB / 1.22 GB, free: 223.7 MB / 0.698 GB Notification: Performance of Templates: time 0.0348/2.01, allocations: 23.65 MB / 1.243 GB, free: 206.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)