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.001779/0.001779, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.003128/0.003128, allocations: 217.8 kB / 22.25 MB, free: 5.125 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.953 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.002508/0.002508, allocations: 294 kB / 312.7 MB, free: 2.777 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.293/1.293, allocations: 180.6 MB / 0.5369 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 178] 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.002952/0.002952, allocations: 101.7 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2012, allocations: 95.39 MB / 0.8327 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1715/0.3728, allocations: 138.8 MB / 0.9683 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.384, allocations: 8.037 MB / 0.9761 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.384, allocations: 0 / 0.9761 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.3842, allocations: 31.83 kB / 0.9762 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.3843, allocations: 15.84 kB / 0.9762 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004237/0.3885, allocations: 1.479 MB / 0.9776 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3887, allocations: 75.64 kB / 0.9777 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.3888, allocations: 4 kB / 0.9777 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3889, allocations: 51.83 kB / 0.9778 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.389, allocations: 35.84 kB / 0.9778 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3891, allocations: 0 / 0.9778 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005829/0.3949, allocations: 2.723 MB / 0.9805 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.3949, allocations: 11.98 kB / 0.9805 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.395, allocations: 31.8 kB / 0.9805 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.453/0.848, allocations: 1.386 MB / 0.9818 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.848, allocations: 0 / 0.9818 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.848, allocations: 0 / 0.9818 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.848, allocations: 0.8438 kB / 0.9818 GB, free: 6.234 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.001142/0.8491, allocations: 432.6 kB / 0.9823 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8492, allocations: 12.92 kB / 0.9823 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.8492, allocations: 40.39 kB / 0.9823 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/0.8496, allocations: 23.25 kB / 0.9823 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.191e-05/0.8497, allocations: 111.1 kB / 0.9824 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.8498, allocations: 61.12 kB / 0.9825 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.8498, allocations: 11.84 kB / 0.9825 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.8501, allocations: 122.8 kB / 0.9826 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.8501, allocations: 3.156 kB / 0.9826 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.8502, allocations: 0.9062 kB / 0.9826 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.8502, allocations: 6.172 kB / 0.9826 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.8505, allocations: 122.3 kB / 0.9828 GB, free: 5.641 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.0004205/0.8509, allocations: 347.5 kB / 0.9831 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.8512, allocations: 113.5 kB / 0.9832 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.8512, allocations: 47.73 kB / 0.9832 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/0.8639, allocations: 3.039 MB / 0.9862 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.864, allocations: 38.91 kB / 0.9862 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.864, allocations: 0.9062 kB / 0.9862 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005459/0.8645, allocations: 162 kB / 0.9864 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.8645, allocations: 57.27 kB / 0.9865 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.859e-05/0.8646, allocations: 101.2 kB / 0.9866 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.8646, allocations: 29.52 kB / 0.9866 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.8646, allocations: 88.73 kB / 0.9867 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.8647, allocations: 48.67 kB / 0.9867 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.8647, allocations: 27.81 kB / 0.9867 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000264/0.865, allocations: 320.3 kB / 0.987 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.865, allocations: 29.72 kB / 0.9871 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.8651, allocations: 31.77 kB / 0.9871 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/0.8651, allocations: 70.08 kB / 0.9872 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8651, allocations: 0 / 0.9872 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001789/0.8653, allocations: 109.2 kB / 0.9873 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.8653, allocations: 5.938 kB / 0.9873 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8653, allocations: 0.75 kB / 0.9873 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.8654, allocations: 0.875 kB / 0.9873 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.8655, allocations: 24.48 kB / 0.9873 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8655, allocations: 1 kB / 0.9873 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.8656, allocations: 8.594 kB / 0.9873 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.8656, allocations: 8.781 kB / 0.9873 GB, free: 20.54 MB / 0.7325 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 8.75e-05/0.8657, allocations: 120.4 kB / 0.9874 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.8657, allocations: 10.45 kB / 0.9874 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.8661, allocations: 382.2 kB / 0.9878 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.8661, allocations: 9.688 kB / 0.9878 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8661, allocations: 0 / 0.9878 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8661, allocations: 1.625 kB / 0.9878 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.8664, allocations: 259.2 kB / 0.9881 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.8664, allocations: 1 kB / 0.9881 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.8665, allocations: 21.73 kB / 0.9881 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8665, allocations: 2.5 kB / 0.9881 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.8665, allocations: 5.516 kB / 0.9881 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8665, allocations: 2.531 kB / 0.9881 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8665, allocations: 2.828 kB / 0.9881 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.8668, allocations: 336.4 kB / 0.9884 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.8668, allocations: 31.22 kB / 0.9885 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.8669, allocations: 1.641 kB / 0.9885 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.867, allocations: 12.14 kB / 0.9885 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.867, allocations: 11.61 kB / 0.9885 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.867, allocations: 4 kB / 0.9885 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.8671, allocations: 88.7 kB / 0.9886 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8671, allocations: 0 / 0.9886 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001435/0.8685, allocations: 309.9 kB / 0.9889 GB, free: 19.91 MB / 0.7325 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.001948/0.8705, allocations: 1.159 MB / 0.99 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.8707, allocations: 126.1 kB / 0.9901 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8707, allocations: 0 / 0.9901 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.8708, allocations: 94.05 kB / 0.9902 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.8711, allocations: 15.47 kB / 0.9902 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/0.8719, allocations: 450.2 kB / 0.9906 GB, free: 19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.8722, allocations: 0.7151 MB / 0.9913 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.8723, allocations: 32.05 kB / 0.9914 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.8724, allocations: 37.92 kB / 0.9914 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.8724, allocations: 0 / 0.9914 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/0.921, allocations: 12.01 MB / 1.003 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.35, allocations: 6.562 kB / 1.003 GB, free: 17.47 MB / 0.7325 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: 16.817703877110034] Failed to read output from testmodel.py, exit status != 0: 12.465467538917437 12.489220437 11.636920587 Calling exit ...