Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.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.001513/0.001513, 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.001672/0.001672, allocations: 217.1 kB / 23 MB, free: 4.914 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002467/0.002467, allocations: 300.1 kB / 313.5 MB, free: 2.621 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.175/1.175, allocations: 180.6 MB / 0.5377 GB, free: 14.43 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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") [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.002935/0.002935, allocations: 105.2 kB / 0.7407 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1711, allocations: 95.38 MB / 0.8338 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1489/0.3201, allocations: 119.1 MB / 0.9502 GB, free: 240 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009924/0.33, allocations: 7.224 MB / 0.9572 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.33, allocations: 0 / 0.9572 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.3302, allocations: 23.84 kB / 0.9573 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.3303, allocations: 19.84 kB / 0.9573 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.3342, allocations: 1.466 MB / 0.9587 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3343, allocations: 67.72 kB / 0.9588 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.3344, allocations: 0 / 0.9588 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.3345, allocations: 55.83 kB / 0.9588 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.3346, allocations: 27.84 kB / 0.9589 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3346, allocations: 4 kB / 0.9589 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004684/0.3393, allocations: 2.618 MB / 0.9614 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.3393, allocations: 11.97 kB / 0.9614 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.3394, allocations: 35.8 kB / 0.9615 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.3418, allocations: 1.384 MB / 0.9628 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3418, allocations: 0 / 0.9628 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3418, allocations: 3.938 kB / 0.9628 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3418, allocations: 4 kB / 0.9628 GB, free: 3.266 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001078/0.3429, allocations: 429.3 kB / 0.9632 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3429, allocations: 9.938 kB / 0.9632 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.3433, allocations: 28.88 kB / 0.9633 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3434, allocations: 110.5 kB / 0.9634 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.3435, allocations: 67.84 kB / 0.9634 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3435, allocations: 7.938 kB / 0.9634 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.3439, allocations: 154.1 kB / 0.9636 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3439, allocations: 0 / 0.9636 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3439, allocations: 4 kB / 0.9636 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3439, allocations: 0 / 0.9636 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.3442, allocations: 119.9 kB / 0.9637 GB, free: 2.281 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.3446, allocations: 268.3 kB / 0.964 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.3449, allocations: 114.5 kB / 0.9641 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.345, allocations: 52.83 kB / 0.9641 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.3561, allocations: 3.051 MB / 0.9671 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.3562, allocations: 30.56 kB / 0.9671 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.3562, allocations: 4 kB / 0.9671 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000531/0.3567, allocations: 172.4 kB / 0.9673 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3568, allocations: 51.41 kB / 0.9674 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.3568, allocations: 101.8 kB / 0.9674 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3569, allocations: 29.7 kB / 0.9675 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.3569, allocations: 80.14 kB / 0.9676 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.357, allocations: 47.59 kB / 0.9676 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.357, allocations: 29.7 kB / 0.9676 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3572, allocations: 318.8 kB / 0.9679 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.3572, allocations: 23.98 kB / 0.968 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/0.3573, allocations: 27.98 kB / 0.968 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3574, allocations: 68.84 kB / 0.968 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3574, allocations: 0 / 0.968 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001922/0.3576, allocations: 116.5 kB / 0.9682 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3576, allocations: 6.5 kB / 0.9682 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3576, allocations: 7.922 kB / 0.9682 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3576, allocations: 0 / 0.9682 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3577, allocations: 19.98 kB / 0.9682 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3577, allocations: 4 kB / 0.9682 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.3578, allocations: 11.89 kB / 0.9682 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3578, allocations: 4 kB / 0.9682 GB, free: 13.56 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 (13): * Single equations (assignments): 13 * 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.399e-05/0.3579, allocations: 134.3 kB / 0.9683 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.3579, allocations: 7.953 kB / 0.9683 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.3584, allocations: 376.1 kB / 0.9687 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.3584, allocations: 7.984 kB / 0.9687 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3584, allocations: 0 / 0.9687 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3584, allocations: 0 / 0.9687 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.3587, allocations: 221 kB / 0.9689 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3587, allocations: 4 kB / 0.9689 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.3588, allocations: 19.98 kB / 0.9689 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3588, allocations: 3.938 kB / 0.9689 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3588, allocations: 12 kB / 0.969 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3588, allocations: 7.984 kB / 0.969 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3588, allocations: 0 / 0.969 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.3592, allocations: 331 kB / 0.9693 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.3592, allocations: 27.83 kB / 0.9693 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3593, allocations: 4 kB / 0.9693 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3594, allocations: 7.984 kB / 0.9693 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.3594, allocations: 7.984 kB / 0.9693 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.3594, allocations: 11.98 kB / 0.9693 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.3595, allocations: 79.28 kB / 0.9694 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.3595, allocations: 0 / 0.9694 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008199/0.3603, allocations: 311.6 kB / 0.9697 GB, free: 11.95 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001178/0.3615, allocations: 411 kB / 0.9701 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.3617, allocations: 123.8 kB / 0.9702 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3617, allocations: 0 / 0.9702 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3618, allocations: 95.89 kB / 0.9703 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3621, allocations: 14.41 kB / 0.9703 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3627, allocations: 350.2 kB / 0.9707 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.045e-05/0.3627, allocations: 102.4 kB / 0.9708 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.3628, allocations: 19.42 kB / 0.9708 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.3628, allocations: 0 / 0.9708 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.01074/0.3735, allocations: 6.91 MB / 0.9775 GB, free: 3.887 MB / 0.7169 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.059866223949939] Failed to read output from testmodel.py, exit status != 0: 0.3810095130465925 0.705186584 0.360914872 Calling exit ...