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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 105.9 kB / 18.32 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 188.5 kB / 21.5 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 250.1 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00239/0.00239, allocations: 289.3 kB / 305.5 MB, free: 3.523 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 180.9 MB / 0.5289 GB, free: 1.898 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 103.8 kB / 0.729 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5307, allocations: 94.15 MB / 0.821 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002435/0.5332, allocations: 1.273 MB / 0.8222 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1653/0.6984, allocations: 138.1 MB / 0.9571 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.6985, allocations: 0 / 0.9571 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.6985, allocations: 3.984 kB / 0.9571 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.6986, allocations: 3.938 kB / 0.9571 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.7003, allocations: 474.3 kB / 0.9575 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.7004, allocations: 43.78 kB / 0.9576 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.7005, allocations: 0 / 0.9576 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 6.642e-05/0.7005, allocations: 19.98 kB / 0.9576 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.7007, allocations: 23.91 kB / 0.9576 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.7007, allocations: 0 / 0.9576 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.7024, allocations: 0.827 MB / 0.9584 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.7024, allocations: 11.98 kB / 0.9584 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.7024, allocations: 19.92 kB / 0.9585 GB, free: 496 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006522/0.7031, allocations: 450.9 kB / 0.9589 GB, free: 48 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7031, allocations: 0 / 0.9589 GB, free: 48 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7031, allocations: 3.938 kB / 0.9589 GB, free: 44 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.7031, allocations: 7.984 kB / 0.9589 GB, free: 36 kB / 0.6856 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.000587/0.7037, allocations: 371.2 kB / 0.9593 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7037, allocations: 12.03 kB / 0.9593 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.7039, allocations: 8.938 kB / 0.9593 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.7041, allocations: 164.3 kB / 0.9594 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.7041, allocations: 384 / 0.9594 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.7041, allocations: 16.11 kB / 0.9595 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.7042, allocations: 49.69 kB / 0.9595 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7043, allocations: 4 kB / 0.9595 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.7043, allocations: 4 kB / 0.9595 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.7043, allocations: 7.969 kB / 0.9595 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.746e-05/0.7043, allocations: 19.98 kB / 0.9595 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.7045, allocations: 161.6 kB / 0.9597 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.7046, allocations: 54.5 kB / 0.9597 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.7047, allocations: 24.78 kB / 0.9598 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.7156, allocations: 3.209 MB / 0.9629 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.7157, allocations: 34.56 kB / 0.9629 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.953e-06/0.7157, allocations: 0 / 0.9629 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04155/0.7572, allocations: 15 MB / 0.9776 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.7573, allocations: 59.34 kB / 0.9776 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.7573, allocations: 93.86 kB / 0.9777 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.7574, allocations: 25.7 kB / 0.9777 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.7574, allocations: 80.14 kB / 0.9778 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.7574, allocations: 47.64 kB / 0.9779 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.7575, allocations: 33.64 kB / 0.9779 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7576, allocations: 318.9 kB / 0.9782 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.7577, allocations: 27.98 kB / 0.9782 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-05/0.7577, allocations: 23.98 kB / 0.9783 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.7579, allocations: 58.98 kB / 0.9783 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.7579, allocations: 0 / 0.9783 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002319/0.7581, allocations: 105.7 kB / 0.9784 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.7581, allocations: 4 kB / 0.9784 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7581, allocations: 0 / 0.9784 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7581, allocations: 4 kB / 0.9784 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.7583, allocations: 23.92 kB / 0.9784 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.7583, allocations: 8 kB / 0.9785 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.7583, allocations: 4 kB / 0.9785 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.7583, allocations: 4 kB / 0.9785 GB, free: 11.55 MB / 0.7169 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/0.7584, allocations: 113.8 kB / 0.9786 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.7585, allocations: 7.953 kB / 0.9786 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.7587, allocations: 137.3 kB / 0.9787 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7588, allocations: 0 / 0.9787 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7588, allocations: 0 / 0.9787 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.7588, allocations: 7.984 kB / 0.9787 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.7589, allocations: 177.6 kB / 0.9789 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7589, allocations: 4 kB / 0.9789 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.7591, allocations: 20 kB / 0.9789 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.7591, allocations: 7.984 kB / 0.9789 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.7591, allocations: 0 / 0.9789 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7591, allocations: 0 / 0.9789 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7591, allocations: 4 kB / 0.9789 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.7594, allocations: 161.1 kB / 0.9791 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.7595, allocations: 89.09 kB / 0.9792 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.7595, allocations: 4 kB / 0.9792 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.7596, allocations: 12 kB / 0.9792 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.7597, allocations: 7.984 kB / 0.9792 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.7597, allocations: 8 kB / 0.9792 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.7597, allocations: 79.27 kB / 0.9793 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7597, allocations: 0 / 0.9793 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001801/0.7615, allocations: 0.5622 MB / 0.9798 GB, free: 10.06 MB / 0.7169 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002897/0.7644, allocations: 350.9 kB / 0.9801 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.7646, allocations: 71.95 kB / 0.9802 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7646, allocations: 3.938 kB / 0.9802 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.685e-05/0.7647, allocations: 31.92 kB / 0.9802 GB, free: 9.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.7649, allocations: 18.12 kB / 0.9803 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.7655, allocations: 349.5 kB / 0.9806 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.7658, allocations: 0.6846 MB / 0.9813 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.827e-05/0.7659, allocations: 28.53 kB / 0.9813 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.766, allocations: 11.44 kB / 0.9813 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.766, allocations: 0 / 0.9813 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.03704/0.803, allocations: 24.32 MB / 1.005 GB, free: 148 kB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.526708211000368]