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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009186/0.0009186, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009514/0.0009514, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9483/0.9483, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001747/0.001747, allocations: 240 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7435/0.7435, allocations: 138.4 MB / 455.2 MB, free: 1.57 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.744e-06/1.744e-06, allocations: 0 / 0.5551 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.727e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001944/0.001972, allocations: 1.313 MB / 0.5564 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3499/0.3519, allocations: 133.4 MB / 0.6866 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.352, allocations: 0 / 0.6866 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.352, allocations: 3.984 kB / 0.6866 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.3521, allocations: 11.92 kB / 0.6866 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3534, allocations: 472 kB / 0.6871 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.3535, allocations: 40.06 kB / 0.6871 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.3535, allocations: 0 / 0.6871 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.3536, allocations: 25.97 kB / 0.6871 GB, free: 19.31 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.3537, allocations: 20.59 kB / 0.6871 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3537, allocations: 6.781 kB / 0.6872 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.3548, allocations: 0.7948 MB / 0.6879 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.3548, allocations: 11.91 kB / 0.6879 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.3548, allocations: 16.81 kB / 0.688 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.3554, allocations: 0.564 MB / 0.6885 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3554, allocations: 0 / 0.6885 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3554, allocations: 0 / 0.6885 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3555, allocations: 0 / 0.6885 GB, free: 18.48 MB / 0.5105 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.0004766/0.3559, allocations: 399.9 kB / 0.6889 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.356, allocations: 12.25 kB / 0.6889 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.3562, allocations: 23.56 kB / 0.6889 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.986e-05/0.3562, allocations: 111.6 kB / 0.689 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3562, allocations: 7.406 kB / 0.689 GB, free: 17.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.3563, allocations: 9.906 kB / 0.689 GB, free: 17.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3564, allocations: 124 kB / 0.6892 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3564, allocations: 3.062 kB / 0.6892 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3564, allocations: 3.938 kB / 0.6892 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3564, allocations: 0 / 0.6892 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/0.3565, allocations: 20.58 kB / 0.6892 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.3566, allocations: 124.9 kB / 0.6893 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.099e-05/0.3567, allocations: 54.8 kB / 0.6894 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.3567, allocations: 14.27 kB / 0.6894 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005008/0.3617, allocations: 2.887 MB / 0.6922 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.3618, allocations: 45.33 kB / 0.6922 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3618, allocations: 0 / 0.6922 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01591/0.3777, allocations: 8.097 MB / 0.7001 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.3777, allocations: 51.41 kB / 0.7002 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.3778, allocations: 165.9 kB / 0.7004 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.3778, allocations: 25.7 kB / 0.7004 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.6e-05/0.3778, allocations: 130.9 kB / 0.7005 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3778, allocations: 43.64 kB / 0.7005 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.3779, allocations: 39.31 kB / 0.7006 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.3779, allocations: 0.4923 MB / 0.7011 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.3779, allocations: 11.38 kB / 0.7011 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.378, allocations: 19.98 kB / 0.7011 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.378, allocations: 55.61 kB / 0.7011 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.378, allocations: 128 / 0.7011 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001359/0.3782, allocations: 104.2 kB / 0.7012 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3782, allocations: 11.94 kB / 0.7013 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3782, allocations: 0 / 0.7013 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3782, allocations: 3.984 kB / 0.7013 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.3783, allocations: 23.94 kB / 0.7013 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3783, allocations: 0 / 0.7013 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.3783, allocations: 4 kB / 0.7013 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3783, allocations: 4 kB / 0.7013 GB, free: 6.484 MB / 0.5105 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 5.215e-05/0.3784, allocations: 164.6 kB / 0.7014 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.3784, allocations: 19.83 kB / 0.7015 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.3786, allocations: 117.5 kB / 0.7016 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3786, allocations: 0 / 0.7016 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3786, allocations: 0 / 0.7016 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3786, allocations: 0 / 0.7016 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.163e-05/0.3787, allocations: 132.6 kB / 0.7017 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3787, allocations: 0 / 0.7017 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.3788, allocations: 23.98 kB / 0.7017 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3788, allocations: 7.984 kB / 0.7017 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3788, allocations: 7.938 kB / 0.7017 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3788, allocations: 7.625 kB / 0.7017 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3788, allocations: 0 / 0.7017 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.379, allocations: 157.3 kB / 0.7019 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.379, allocations: 11.98 kB / 0.7019 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.379, allocations: 7.938 kB / 0.7019 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.66e-05/0.3791, allocations: 4 kB / 0.7019 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.3791, allocations: 11.98 kB / 0.7019 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3791, allocations: 8 kB / 0.7019 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.785e-05/0.3791, allocations: 127.1 kB / 0.7021 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3791, allocations: 0 / 0.7021 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001348/0.3805, allocations: 0.5621 MB / 0.7026 GB, free: 5.062 MB / 0.5105 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.001967/0.3824, allocations: 370.8 kB / 0.703 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.3826, allocations: 67.59 kB / 0.703 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3826, allocations: 0 / 0.703 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.3826, allocations: 39.61 kB / 0.7031 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.3828, allocations: 26.72 kB / 0.7031 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.3834, allocations: 287.9 kB / 0.7034 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.337e-05/0.3835, allocations: 65.38 kB / 0.7034 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.509e-05/0.3835, allocations: 27.72 kB / 0.7035 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.3835, allocations: 16.5 kB / 0.7035 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of SimCode: time 7.22e-07/0.3835, allocations: 4 kB / 0.7035 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of Templates: time 0.03509/0.4186, allocations: 27.25 MB / 0.7301 GB, free: 8.926 MB / 0.5417 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.673338761087507]