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.001636/0.001636, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002002/0.002002, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.781 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.00246/0.00246, allocations: 295.6 kB / 312.7 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.194/1.194, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [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.003002/0.003002, allocations: 101.7 kB / 0.7395 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1735, allocations: 95.39 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.148/0.3215, allocations: 119.1 MB / 0.949 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.3321, allocations: 7.22 MB / 0.956 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.3322, allocations: 0 / 0.956 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.3324, allocations: 31.83 kB / 0.956 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 8.295e-05/0.3325, allocations: 19.84 kB / 0.9561 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.3372, allocations: 1.458 MB / 0.9575 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3374, allocations: 71.7 kB / 0.9576 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.3374, allocations: 8 kB / 0.9576 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.3376, allocations: 43.78 kB / 0.9576 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3377, allocations: 31.89 kB / 0.9576 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3377, allocations: 4 kB / 0.9576 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005673/0.3434, allocations: 2.614 MB / 0.9602 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.3434, allocations: 15.92 kB / 0.9602 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.3435, allocations: 27.91 kB / 0.9602 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.3465, allocations: 1.392 MB / 0.9616 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3465, allocations: 0 / 0.9616 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3465, allocations: 0 / 0.9616 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3465, allocations: 0 / 0.9616 GB, free: 3.781 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.001191/0.3477, allocations: 429.2 kB / 0.962 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.3477, allocations: 13.34 kB / 0.962 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.3478, allocations: 38.73 kB / 0.9621 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004551/0.3483, allocations: 28.88 kB / 0.9621 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3484, allocations: 114.4 kB / 0.9622 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.3485, allocations: 63.7 kB / 0.9623 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.3485, allocations: 12 kB / 0.9623 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.349, allocations: 149.8 kB / 0.9624 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.349, allocations: 0 / 0.9624 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.349, allocations: 4 kB / 0.9624 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.349, allocations: 0 / 0.9624 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.3493, allocations: 115.9 kB / 0.9625 GB, free: 2.75 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.0006389/0.35, allocations: 299.7 kB / 0.9628 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.3503, allocations: 114.6 kB / 0.9629 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.3504, allocations: 60.75 kB / 0.963 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.3623, allocations: 3.047 MB / 0.9659 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.3623, allocations: 38.56 kB / 0.966 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.3623, allocations: 0 / 0.966 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005729/0.3629, allocations: 168.5 kB / 0.9661 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3629, allocations: 59.34 kB / 0.9662 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.363, allocations: 101.8 kB / 0.9663 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.363, allocations: 29.7 kB / 0.9663 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.3631, allocations: 84.14 kB / 0.9664 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.3631, allocations: 51.58 kB / 0.9665 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.3632, allocations: 29.7 kB / 0.9665 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3633, allocations: 318.8 kB / 0.9668 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.3634, allocations: 23.98 kB / 0.9668 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.3634, allocations: 27.98 kB / 0.9668 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3636, allocations: 64.84 kB / 0.9669 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3636, allocations: 0 / 0.9669 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002112/0.3638, allocations: 112.1 kB / 0.967 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3638, allocations: 8 kB / 0.967 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3638, allocations: 0 / 0.967 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3638, allocations: 0 / 0.967 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3639, allocations: 23.98 kB / 0.967 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3639, allocations: 0 / 0.967 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.364, allocations: 19.83 kB / 0.9671 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.364, allocations: 4 kB / 0.9671 GB, free: 13.97 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 0.0001031/0.3641, allocations: 118.4 kB / 0.9672 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.3642, allocations: 7.953 kB / 0.9672 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.3647, allocations: 376.2 kB / 0.9675 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.3647, allocations: 7.984 kB / 0.9675 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3647, allocations: 0 / 0.9675 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3647, allocations: 3.938 kB / 0.9676 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.365, allocations: 256.5 kB / 0.9678 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.365, allocations: 0 / 0.9678 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3651, allocations: 27.92 kB / 0.9678 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3651, allocations: 0 / 0.9678 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3651, allocations: 7.984 kB / 0.9678 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3651, allocations: 0 / 0.9678 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3651, allocations: 4 kB / 0.9678 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.3655, allocations: 339 kB / 0.9682 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.3656, allocations: 23.95 kB / 0.9682 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.3656, allocations: 11.98 kB / 0.9682 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3657, allocations: 7.984 kB / 0.9682 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.3657, allocations: 19.86 kB / 0.9682 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.3658, allocations: 7.984 kB / 0.9682 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.3658, allocations: 79.28 kB / 0.9683 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.3658, allocations: 0 / 0.9683 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008767/0.3667, allocations: 307.6 kB / 0.9686 GB, free: 12.32 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.002053/0.3687, allocations: 1.157 MB / 0.9697 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.369, allocations: 123.9 kB / 0.9698 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.369, allocations: 0 / 0.9698 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.3691, allocations: 91.84 kB / 0.9699 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3694, allocations: 25.3 kB / 0.97 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3704, allocations: 438.5 kB / 0.9704 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.906e-05/0.3705, allocations: 106.3 kB / 0.9705 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.3706, allocations: 28.36 kB / 0.9705 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.3707, allocations: 43.41 kB / 0.9705 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.3707, allocations: 0 / 0.9705 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4181/0.7888, allocations: 12.26 MB / 0.9825 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.67, allocations: 3.75 kB / 0.9825 GB, free: 149.4 MB / 0.7169 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.649192029144615] Failed to read output from testmodel.py, exit status != 0: 11.776244943030179 11.789175944 11.439355226 Calling exit ...