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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002399/0.002399, allocations: 284.9 kB / 304.8 MB, free: 3.559 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 180.9 MB / 0.5281 GB, free: 1.867 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002885/0.002885, allocations: 99.83 kB / 0.7283 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.6179, allocations: 94.16 MB / 0.8203 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.173/0.791, allocations: 136 MB / 0.953 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009784/0.8007, allocations: 7.982 MB / 0.9608 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.8008, allocations: 3.938 kB / 0.9608 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.801, allocations: 23.89 kB / 0.9609 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.801, allocations: 11.86 kB / 0.9609 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.8048, allocations: 1.467 MB / 0.9623 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.8049, allocations: 75.66 kB / 0.9624 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.805, allocations: 11.92 kB / 0.9624 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.8051, allocations: 39.86 kB / 0.9624 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.8052, allocations: 39.83 kB / 0.9625 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.8052, allocations: 0 / 0.9625 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.8097, allocations: 2.712 MB / 0.9651 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.8097, allocations: 15.86 kB / 0.9651 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.8098, allocations: 35.84 kB / 0.9652 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.8118, allocations: 1.38 MB / 0.9665 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8118, allocations: 0 / 0.9665 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8118, allocations: 4 kB / 0.9665 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.8118, allocations: 0 / 0.9665 GB, free: 7.453 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.001051/0.8128, allocations: 0.4906 MB / 0.967 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8129, allocations: 12.02 kB / 0.967 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.8132, allocations: 24.88 kB / 0.967 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.8134, allocations: 164.4 kB / 0.9672 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.8135, allocations: 30.27 kB / 0.9672 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.8135, allocations: 15.92 kB / 0.9672 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.8139, allocations: 126.5 kB / 0.9674 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.8139, allocations: 0 / 0.9674 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.8139, allocations: 0 / 0.9674 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.8139, allocations: 4 kB / 0.9674 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.8142, allocations: 115.9 kB / 0.9675 GB, free: 6.383 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.0005595/0.8148, allocations: 380.1 kB / 0.9678 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.815, allocations: 122.5 kB / 0.968 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.8151, allocations: 44.78 kB / 0.968 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.8267, allocations: 4.23 MB / 0.9721 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.8268, allocations: 38.56 kB / 0.9722 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.8268, allocations: 0 / 0.9722 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0005394/0.8273, allocations: 168.1 kB / 0.9723 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.8274, allocations: 59.34 kB / 0.9724 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.8274, allocations: 101.8 kB / 0.9725 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.8275, allocations: 25.7 kB / 0.9725 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.8275, allocations: 92.12 kB / 0.9726 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.8276, allocations: 39.66 kB / 0.9726 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.8276, allocations: 29.7 kB / 0.9727 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8278, allocations: 318.8 kB / 0.973 GB, free: 320 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.8278, allocations: 27.98 kB / 0.973 GB, free: 292 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.475e-05/0.8279, allocations: 23.98 kB / 0.973 GB, free: 268 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.828, allocations: 68.23 kB / 0.9731 GB, free: 200 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.828, allocations: 4 kB / 0.9731 GB, free: 196 kB / 0.7012 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001947/0.8282, allocations: 117.6 kB / 0.9732 GB, free: 72 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.8282, allocations: 4 kB / 0.9732 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.8282, allocations: 0 / 0.9732 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.8282, allocations: 0 / 0.9732 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.8284, allocations: 23.98 kB / 0.9732 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.8284, allocations: 0 / 0.9732 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.8284, allocations: 15.81 kB / 0.9732 GB, free: 28 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.8284, allocations: 11.94 kB / 0.9732 GB, free: 16 kB / 0.7012 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.866e-05/0.8285, allocations: 113.8 kB / 0.9734 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.8286, allocations: 8 kB / 0.9734 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.8291, allocations: 368 kB / 0.9737 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.8291, allocations: 4 kB / 0.9737 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.8291, allocations: 0 / 0.9737 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.8291, allocations: 11.86 kB / 0.9737 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.8294, allocations: 277.5 kB / 0.974 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8294, allocations: 4 kB / 0.974 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.8295, allocations: 19.98 kB / 0.974 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8295, allocations: 0 / 0.974 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.8295, allocations: 4 kB / 0.974 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.8295, allocations: 8 kB / 0.974 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8295, allocations: 3.938 kB / 0.974 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.8299, allocations: 331.1 kB / 0.9743 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.83, allocations: 104.9 kB / 0.9744 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.83, allocations: 4 kB / 0.9744 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.8301, allocations: 7.984 kB / 0.9745 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.8302, allocations: 11.98 kB / 0.9745 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.8302, allocations: 7.938 kB / 0.9745 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.8302, allocations: 83.28 kB / 0.9746 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.8302, allocations: 0 / 0.9746 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008585/0.8311, allocations: 299.7 kB / 0.9748 GB, free: 14.27 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.001195/0.8323, allocations: 403.7 kB / 0.9752 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.8325, allocations: 116 kB / 0.9753 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8325, allocations: 0 / 0.9753 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.8326, allocations: 90.44 kB / 0.9754 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.8329, allocations: 26.67 kB / 0.9754 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.8335, allocations: 312.4 kB / 0.9757 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.8338, allocations: 0.7166 MB / 0.9764 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.8339, allocations: 36.33 kB / 0.9765 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.8339, allocations: 19.38 kB / 0.9765 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of SimCode: time 4.6e-07/0.8339, allocations: 0 / 0.9765 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.01503/0.849, allocations: 9.875 MB / 0.9861 GB, free: 2.641 MB / 0.7169 GB " [Timeout remaining time 659] 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: 6.855223778635263]