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.0007226/0.0007226, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007138/0.0007138, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8184/0.8184, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001354/0.001354, allocations: 244.6 kB / 260.2 MB, free: 13.03 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.6443/0.6443, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.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 2.735e-06/2.735e-06, allocations: 4 kB / 0.6475 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.198e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001499/0.001521, allocations: 1.267 MB / 0.6487 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3195/0.321, allocations: 120.9 MB / 0.7668 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.321, allocations: 4 kB / 0.7668 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.3211, allocations: 3.938 kB / 0.7668 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.3211, allocations: 0 / 0.7668 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009278/0.322, allocations: 466.1 kB / 0.7673 GB, free: 180 kB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.3221, allocations: 47.83 kB / 0.7673 GB, free: 132 kB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.3221, allocations: 0 / 0.7673 GB, free: 132 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.3222, allocations: 31.95 kB / 0.7674 GB, free: 100 kB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.3223, allocations: 19.92 kB / 0.7674 GB, free: 80 kB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3223, allocations: 0 / 0.7674 GB, free: 80 kB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008842/0.3232, allocations: 0.7996 MB / 0.7682 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.3232, allocations: 11.98 kB / 0.7682 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.3232, allocations: 11.97 kB / 0.7682 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.3237, allocations: 0.5613 MB / 0.7687 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3237, allocations: 0 / 0.7687 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3237, allocations: 0 / 0.7687 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3237, allocations: 0 / 0.7687 GB, free: 14.69 MB / 0.6042 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.0004077/0.3241, allocations: 296.2 kB / 0.769 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3242, allocations: 13.92 kB / 0.769 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.3243, allocations: 13.61 kB / 0.769 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.348e-05/0.3244, allocations: 112.2 kB / 0.7691 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3244, allocations: 4.375 kB / 0.7691 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.3244, allocations: 8.359 kB / 0.7692 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3245, allocations: 131.3 kB / 0.7693 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3245, allocations: 7.938 kB / 0.7693 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3246, allocations: 0 / 0.7693 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3246, allocations: 0 / 0.7693 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.3246, allocations: 23.91 kB / 0.7693 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.3247, allocations: 114.6 kB / 0.7694 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.3248, allocations: 42.56 kB / 0.7695 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.3248, allocations: 20.84 kB / 0.7695 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004997/0.3298, allocations: 2.872 MB / 0.7723 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.3298, allocations: 34.56 kB / 0.7723 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3298, allocations: 0 / 0.7723 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0205/0.3503, allocations: 14.94 MB / 0.7869 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.3504, allocations: 51.41 kB / 0.787 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.535e-05/0.3504, allocations: 97.86 kB / 0.787 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.3504, allocations: 29.7 kB / 0.7871 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.832e-05/0.3504, allocations: 84.08 kB / 0.7872 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.3505, allocations: 43.58 kB / 0.7872 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3505, allocations: 37.64 kB / 0.7872 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.3506, allocations: 314.8 kB / 0.7875 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.3506, allocations: 27.98 kB / 0.7876 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.3506, allocations: 20.61 kB / 0.7876 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.3507, allocations: 64.36 kB / 0.7876 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3507, allocations: 0 / 0.7876 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003807/0.3511, allocations: 114.9 kB / 0.7877 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3511, allocations: 4 kB / 0.7878 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3511, allocations: 0 / 0.7878 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3511, allocations: 4 kB / 0.7878 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.3512, allocations: 23.98 kB / 0.7878 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3512, allocations: 4 kB / 0.7878 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.3512, allocations: 0 / 0.7878 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.3512, allocations: 4 kB / 0.7878 GB, free: 10.89 MB / 0.6198 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.598e-05/0.3513, allocations: 118.4 kB / 0.7879 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.3513, allocations: 7.938 kB / 0.7879 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.3515, allocations: 123.9 kB / 0.788 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3515, allocations: 0 / 0.788 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3515, allocations: 5.125 kB / 0.788 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3515, allocations: 0 / 0.788 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.479e-05/0.3516, allocations: 117.3 kB / 0.7881 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.3516, allocations: 0 / 0.7881 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.3516, allocations: 27.98 kB / 0.7882 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.3516, allocations: 4 kB / 0.7882 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3516, allocations: 11.88 kB / 0.7882 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3516, allocations: 1.438 kB / 0.7882 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3516, allocations: 0 / 0.7882 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.3518, allocations: 149 kB / 0.7883 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.3518, allocations: 21.05 kB / 0.7883 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3519, allocations: 7.938 kB / 0.7884 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.3519, allocations: 11.98 kB / 0.7884 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.3519, allocations: 11.98 kB / 0.7884 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.352, allocations: 11.94 kB / 0.7884 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.806e-05/0.352, allocations: 75.28 kB / 0.7885 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.352, allocations: 0 / 0.7885 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009372/0.3529, allocations: 0.5699 MB / 0.789 GB, free: 9.578 MB / 0.6198 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.001887/0.3548, allocations: 393.9 kB / 0.7894 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.3549, allocations: 61.84 kB / 0.7895 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3549, allocations: 0 / 0.7895 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.3549, allocations: 35.86 kB / 0.7895 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.3551, allocations: 15.98 kB / 0.7895 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.3555, allocations: 294.8 kB / 0.7898 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.3555, allocations: 67.84 kB / 0.7898 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.3555, allocations: 24.48 kB / 0.7899 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.3555, allocations: 0 / 0.7899 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.01209/0.3676, allocations: 14.47 MB / 0.804 GB, free: 10.25 MB / 0.6355 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.855624035932124] Failed to read output from testmodel.py, exit status != 0: 0.3724867384880781 0.37971292999999995 0.054448271000000006 Calling exit ...