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.001516/0.001516, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001409/0.001409, allocations: 221.8 kB / 23 MB, free: 4.918 MB / 14.72 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 1.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.002539/0.002539, allocations: 300 kB / 313.5 MB, free: 2.605 MB / 238.1 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 1.179/1.179, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 101.1 kB / 0.7407 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1529, allocations: 95.38 MB / 0.8338 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002367/0.1553, allocations: 1.28 MB / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1471/0.3024, allocations: 120.9 MB / 0.9532 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.3024, allocations: 0 / 0.9532 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.3025, allocations: 0 / 0.9532 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.3025, allocations: 11.91 kB / 0.9532 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3038, allocations: 462.3 kB / 0.9536 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.3039, allocations: 39.92 kB / 0.9536 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.3039, allocations: 0 / 0.9536 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.669e-05/0.304, allocations: 27.91 kB / 0.9537 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.304, allocations: 19.92 kB / 0.9537 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.304, allocations: 0 / 0.9537 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.3055, allocations: 0.7958 MB / 0.9545 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.3056, allocations: 15.97 kB / 0.9545 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.3056, allocations: 15.94 kB / 0.9545 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006185/0.3062, allocations: 443.1 kB / 0.9549 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3062, allocations: 3.938 kB / 0.9549 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3062, allocations: 0 / 0.9549 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3062, allocations: 0 / 0.9549 GB, free: 11.4 MB / 0.7012 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.0004967/0.3067, allocations: 298.1 kB / 0.9552 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3068, allocations: 9.344 kB / 0.9552 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.3069, allocations: 16.86 kB / 0.9552 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.802e-05/0.307, allocations: 106.5 kB / 0.9553 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.307, allocations: 384 / 0.9553 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.3071, allocations: 16.08 kB / 0.9554 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3073, allocations: 130.8 kB / 0.9555 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.3073, allocations: 0 / 0.9555 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3073, allocations: 8 kB / 0.9555 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.3073, allocations: 0 / 0.9555 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.464e-05/0.3073, allocations: 15.98 kB / 0.9555 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.3075, allocations: 113.3 kB / 0.9556 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3076, allocations: 50.5 kB / 0.9557 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.3076, allocations: 16.86 kB / 0.9557 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.3187, allocations: 2.868 MB / 0.9585 GB, free: 7.645 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.3188, allocations: 42.44 kB / 0.9585 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3188, allocations: 0 / 0.9585 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04194/0.3607, allocations: 14.93 MB / 0.9731 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3607, allocations: 55.34 kB / 0.9731 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.3608, allocations: 93.86 kB / 0.9732 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3608, allocations: 29.7 kB / 0.9733 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.3609, allocations: 84.08 kB / 0.9733 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.3609, allocations: 43.64 kB / 0.9734 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.361, allocations: 33.7 kB / 0.9734 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3611, allocations: 310.8 kB / 0.9737 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.3611, allocations: 23.98 kB / 0.9737 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.3612, allocations: 28.12 kB / 0.9738 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3613, allocations: 62.66 kB / 0.9738 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.3613, allocations: 7.938 kB / 0.9738 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002238/0.3615, allocations: 117.6 kB / 0.9739 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3616, allocations: 4 kB / 0.9739 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3616, allocations: 0 / 0.9739 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3616, allocations: 0 / 0.9739 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3617, allocations: 23.98 kB / 0.974 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3617, allocations: 0 / 0.974 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.3617, allocations: 8 kB / 0.974 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3617, allocations: 0 / 0.974 GB, free: 7.57 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 8.344e-05/0.3618, allocations: 122.4 kB / 0.9741 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.3619, allocations: 4 kB / 0.9741 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.3621, allocations: 129.4 kB / 0.9742 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3621, allocations: 0 / 0.9742 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3621, allocations: 0 / 0.9742 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3621, allocations: 0 / 0.9742 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.3623, allocations: 129.2 kB / 0.9743 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3623, allocations: 3.938 kB / 0.9743 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.3624, allocations: 27.98 kB / 0.9744 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3624, allocations: 0 / 0.9744 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3624, allocations: 4 kB / 0.9744 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3624, allocations: 0 / 0.9744 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3624, allocations: 3.938 kB / 0.9744 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.3627, allocations: 155 kB / 0.9745 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.3627, allocations: 15.98 kB / 0.9745 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3627, allocations: 4 kB / 0.9745 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3629, allocations: 19.98 kB / 0.9746 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.3629, allocations: 4.078 kB / 0.9746 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3629, allocations: 15.92 kB / 0.9746 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.363, allocations: 79.28 kB / 0.9747 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.363, allocations: 0 / 0.9747 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001487/0.3644, allocations: 0.566 MB / 0.9752 GB, free: 6.23 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.002936/0.3674, allocations: 354.8 kB / 0.9756 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.3675, allocations: 55.98 kB / 0.9756 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3675, allocations: 4 kB / 0.9756 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.3676, allocations: 35.92 kB / 0.9756 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.3678, allocations: 19.88 kB / 0.9757 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.3684, allocations: 364.1 kB / 0.976 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.3685, allocations: 71.33 kB / 0.9761 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.3685, allocations: 23.38 kB / 0.9761 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.3685, allocations: 4 kB / 0.9761 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of Templates: time 0.3275/0.696, allocations: 14.43 MB / 0.9902 GB, free: 140.4 MB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.275409297086298] Failed to read output from testmodel.py, exit status != 0: 0.7026262856088579 0.7142636950000001 0.405996791 Calling exit ...