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.001373/0.001373, allocations: 114.2 kB / 18.94 MB, free: 2.785 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.001483/0.001483, allocations: 194.2 kB / 22.23 MB, free: 5.227 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.404/1.404, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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.002621/0.002621, allocations: 285.8 kB / 306.5 MB, free: 8.324 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.207/1.207, allocations: 180.9 MB / 0.53 GB, free: 14.48 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.00276/0.00276, allocations: 106.6 kB / 0.7308 GB, free: 38.92 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1549, allocations: 94.19 MB / 0.8228 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1623/0.3172, allocations: 136 MB / 0.9556 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009615/0.3269, allocations: 7.993 MB / 0.9634 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.3269, allocations: 7.938 kB / 0.9634 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.3271, allocations: 19.89 kB / 0.9634 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.87e-05/0.3271, allocations: 19.84 kB / 0.9634 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.3306, allocations: 1.462 MB / 0.9649 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.3307, allocations: 79.58 kB / 0.965 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.3308, allocations: 4 kB / 0.965 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3309, allocations: 47.84 kB / 0.965 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/0.331, allocations: 39.83 kB / 0.965 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.331, allocations: 0 / 0.965 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004384/0.3354, allocations: 2.712 MB / 0.9677 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.3354, allocations: 11.92 kB / 0.9677 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.3355, allocations: 39.84 kB / 0.9677 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.3374, allocations: 1.372 MB / 0.9691 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3374, allocations: 0 / 0.9691 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3374, allocations: 0 / 0.9691 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3374, allocations: 3.938 kB / 0.9691 GB, free: 11.53 MB / 0.7169 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.000972/0.3384, allocations: 429.3 kB / 0.9695 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3384, allocations: 12.03 kB / 0.9695 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003549/0.3387, allocations: 24.88 kB / 0.9695 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3389, allocations: 114.5 kB / 0.9696 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.3389, allocations: 34.25 kB / 0.9697 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.339, allocations: 15.88 kB / 0.9697 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3393, allocations: 124.7 kB / 0.9698 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3393, allocations: 3.938 kB / 0.9698 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3394, allocations: 0 / 0.9698 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3394, allocations: 0 / 0.9698 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.3397, allocations: 123.9 kB / 0.9699 GB, free: 10.6 MB / 0.7169 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.000508/0.3402, allocations: 351.8 kB / 0.9703 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.3404, allocations: 114.5 kB / 0.9704 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.3405, allocations: 44.84 kB / 0.9704 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.352, allocations: 2.962 MB / 0.9733 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.3521, allocations: 38.56 kB / 0.9733 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.3521, allocations: 0 / 0.9733 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005391/0.3526, allocations: 167.6 kB / 0.9735 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.3526, allocations: 55.34 kB / 0.9736 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.3527, allocations: 97.84 kB / 0.9736 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3527, allocations: 29.7 kB / 0.9737 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.3528, allocations: 84.14 kB / 0.9738 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.3528, allocations: 47.58 kB / 0.9738 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.3529, allocations: 25.7 kB / 0.9738 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.353, allocations: 318.8 kB / 0.9741 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.3531, allocations: 35.98 kB / 0.9742 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.3531, allocations: 23.98 kB / 0.9742 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3532, allocations: 69.72 kB / 0.9743 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3532, allocations: 0 / 0.9743 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001953/0.3534, allocations: 110.3 kB / 0.9744 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3535, allocations: 5.875 kB / 0.9744 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3535, allocations: 0 / 0.9744 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3535, allocations: 4 kB / 0.9744 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3536, allocations: 27.92 kB / 0.9744 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3536, allocations: 7.938 kB / 0.9744 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.3537, allocations: 15.89 kB / 0.9744 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3537, allocations: 0 / 0.9744 GB, free: 5.863 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.691e-05/0.3538, allocations: 115.2 kB / 0.9745 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.3538, allocations: 4 kB / 0.9745 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004957/0.3543, allocations: 392.8 kB / 0.9749 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3543, allocations: 3.984 kB / 0.9749 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3543, allocations: 0 / 0.9749 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3543, allocations: 7.938 kB / 0.9749 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3546, allocations: 260.3 kB / 0.9752 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3546, allocations: 0 / 0.9752 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3547, allocations: 23.98 kB / 0.9752 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3547, allocations: 0 / 0.9752 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3548, allocations: 4 kB / 0.9752 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3548, allocations: 3.938 kB / 0.9752 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3548, allocations: 0 / 0.9752 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.3551, allocations: 331.3 kB / 0.9755 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.3552, allocations: 35.95 kB / 0.9755 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3552, allocations: 4 kB / 0.9755 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3553, allocations: 11.97 kB / 0.9756 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.3554, allocations: 11.98 kB / 0.9756 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3554, allocations: 11.92 kB / 0.9756 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.59e-05/0.3554, allocations: 79.28 kB / 0.9757 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.3554, allocations: 0 / 0.9757 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008986/0.3563, allocations: 299.7 kB / 0.9759 GB, free: 4.227 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.001258/0.3576, allocations: 398.6 kB / 0.9763 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3578, allocations: 127.1 kB / 0.9764 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3578, allocations: 0 / 0.9764 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3579, allocations: 87.91 kB / 0.9765 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3582, allocations: 23.97 kB / 0.9766 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.3588, allocations: 316.8 kB / 0.9769 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.3591, allocations: 0.7249 MB / 0.9776 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.3592, allocations: 32.28 kB / 0.9776 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.3593, allocations: 11.44 kB / 0.9776 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.3593, allocations: 0 / 0.9776 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.01536/0.3746, allocations: 9.949 MB / 0.9873 GB, free: 8.512 MB / 0.7325 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: 6.324117183685303] Failed to read output from testmodel.py, exit status != 0: 0.38166668824851513 0.39616150799999994 0.05577399 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2f93de57b0>