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.00226/0.00226, allocations: 93.47 kB / 19.44 MB, free: 336 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.002734/0.002734, allocations: 173.6 kB / 22.76 MB, free: 1.66 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 1.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.003255/0.003255, allocations: 238.1 kB / 259.8 MB, free: 12.85 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 1.173/1.173, allocations: 138.4 MB / 454.7 MB, free: 1.523 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.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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5543 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.319e-05, allocations: 5.406 kB / 0.5543 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4064/0.4064, allocations: 131 MB / 0.6822 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006972/0.4134, allocations: 7.92 MB / 0.6899 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.4134, allocations: 0 / 0.6899 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.4136, allocations: 21.39 kB / 0.69 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.4137, allocations: 22.59 kB / 0.69 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.4171, allocations: 1.474 MB / 0.6914 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.4172, allocations: 72.62 kB / 0.6915 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.4172, allocations: 6.719 kB / 0.6915 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.4174, allocations: 61.72 kB / 0.6916 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.4174, allocations: 27.45 kB / 0.6916 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.4174, allocations: 2.875 kB / 0.6916 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.4209, allocations: 2.616 MB / 0.6941 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.421, allocations: 19.91 kB / 0.6942 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.421, allocations: 27.92 kB / 0.6942 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.4231, allocations: 1.797 MB / 0.6959 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4231, allocations: 0 / 0.6959 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4231, allocations: 0 / 0.6959 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4231, allocations: 0 / 0.6959 GB, free: 11.66 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000771/0.4239, allocations: 0.5165 MB / 0.6965 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4239, allocations: 12.75 kB / 0.6965 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.4243, allocations: 56.56 kB / 0.6965 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.706e-05/0.4244, allocations: 112.5 kB / 0.6966 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.4244, allocations: 59.97 kB / 0.6967 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.4244, allocations: 8.375 kB / 0.6967 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.4247, allocations: 135.9 kB / 0.6968 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4248, allocations: 3.938 kB / 0.6968 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4248, allocations: 0 / 0.6968 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4248, allocations: 0 / 0.6968 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.425, allocations: 107.8 kB / 0.6969 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.4254, allocations: 323.6 kB / 0.6972 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.4256, allocations: 123 kB / 0.6974 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.4257, allocations: 51.66 kB / 0.6974 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.4357, allocations: 3.05 MB / 0.7004 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4358, allocations: 41.39 kB / 0.7004 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.4358, allocations: 0 / 0.7004 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0005509/0.4363, allocations: 174.6 kB / 0.7006 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.4364, allocations: 55.39 kB / 0.7006 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.4364, allocations: 157.9 kB / 0.7008 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4365, allocations: 33.7 kB / 0.7008 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.4365, allocations: 126.9 kB / 0.7009 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.4365, allocations: 51.52 kB / 0.701 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.4366, allocations: 43.3 kB / 0.701 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.4366, allocations: 496.1 kB / 0.7015 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.4367, allocations: 23.98 kB / 0.7015 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.4367, allocations: 24.48 kB / 0.7016 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.819e-05/0.4368, allocations: 69.3 kB / 0.7016 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4368, allocations: 3.938 kB / 0.7016 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001633/0.437, allocations: 112.2 kB / 0.7017 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.437, allocations: 12 kB / 0.7017 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.437, allocations: 0 / 0.7017 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.437, allocations: 0 / 0.7017 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.4372, allocations: 23.92 kB / 0.7018 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4372, allocations: 4.875 kB / 0.7018 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.4372, allocations: 3.953 kB / 0.7018 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.4372, allocations: 12.61 kB / 0.7018 GB, free: 5.477 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 (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 5.55e-05/0.4373, allocations: 160.5 kB / 0.7019 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.4373, allocations: 15.89 kB / 0.702 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.4376, allocations: 270.7 kB / 0.7022 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.4377, allocations: 12.17 kB / 0.7022 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4377, allocations: 7.938 kB / 0.7022 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4377, allocations: 3.984 kB / 0.7022 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.4378, allocations: 196.2 kB / 0.7024 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4378, allocations: 3.938 kB / 0.7024 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.134e-05/0.4379, allocations: 16 kB / 0.7024 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4379, allocations: 7.984 kB / 0.7024 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4379, allocations: 4 kB / 0.7024 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4379, allocations: 0 / 0.7024 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4379, allocations: 0 / 0.7024 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.4382, allocations: 347.6 kB / 0.7028 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4382, allocations: 35.75 kB / 0.7028 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.4383, allocations: 4 kB / 0.7028 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.4384, allocations: 4 kB / 0.7028 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.4384, allocations: 11.98 kB / 0.7028 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.4384, allocations: 7.984 kB / 0.7028 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.4384, allocations: 119.2 kB / 0.703 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.4384, allocations: 0 / 0.703 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007651/0.4392, allocations: 311.6 kB / 0.7033 GB, free: 3.902 MB / 0.5105 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.001145/0.4404, allocations: 437 kB / 0.7037 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.4405, allocations: 100.6 kB / 0.7038 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4405, allocations: 7.938 kB / 0.7038 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.4406, allocations: 83.59 kB / 0.7039 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.441, allocations: 27.91 kB / 0.7039 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.4414, allocations: 294.3 kB / 0.7042 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.699e-05/0.4415, allocations: 106.1 kB / 0.7043 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.4416, allocations: 32.25 kB / 0.7043 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.4416, allocations: 16.5 kB / 0.7043 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.4416, allocations: 0 / 0.7043 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of Templates: time 0.01737/0.459, allocations: 10.34 MB / 0.7144 GB, free: 8.5 MB / 0.5261 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.717123342095874]