Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001403/0.001403, allocations: 113.3 kB / 17.12 MB, free: 6.047 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.001891/0.001891, allocations: 208.3 kB / 20.09 MB, free: 3.098 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.021/1.021, allocations: 150 MB / 459.5 MB, free: 5.281 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002022/0.002022, allocations: 67.12 kB / 0.6361 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1691, allocations: 89.13 MB / 0.7231 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1769/0.346, allocations: 138.8 MB / 0.8587 GB, free: 8.691 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.357, allocations: 8.01 MB / 0.8665 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.3571, allocations: 0 / 0.8665 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.3573, allocations: 31.81 kB / 0.8665 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.3574, allocations: 19.84 kB / 0.8666 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.4578/0.8151, allocations: 1.471 MB / 0.868 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.8154, allocations: 77.25 kB / 0.8681 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.8154, allocations: 3.203 kB / 0.8681 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.8156, allocations: 44.98 kB / 0.8681 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.8157, allocations: 29.53 kB / 0.8681 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.8157, allocations: 3.188 kB / 0.8681 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006892/0.8226, allocations: 2.715 MB / 0.8708 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.8227, allocations: 19.98 kB / 0.8708 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.8228, allocations: 36.03 kB / 0.8708 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.826, allocations: 1.388 MB / 0.8722 GB, free: 3.422 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.826, allocations: 2.625 kB / 0.8722 GB, free: 3.422 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.874e-06/0.826, allocations: 0 / 0.8722 GB, free: 3.422 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.826, allocations: 1.062 kB / 0.8722 GB, free: 3.422 MB / 0.67 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.001393/0.8274, allocations: 0.5038 MB / 0.8727 GB, free: 19 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.8275, allocations: 11.09 kB / 0.8727 GB, free: 19 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.8275, allocations: 39.73 kB / 0.8727 GB, free: 18.96 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/0.8279, allocations: 21.81 kB / 0.8728 GB, free: 18.96 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.828, allocations: 171.5 kB / 0.8729 GB, free: 18.76 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.296e-05/0.8281, allocations: 33.23 kB / 0.873 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.8281, allocations: 11.38 kB / 0.873 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.8285, allocations: 119.4 kB / 0.8731 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8285, allocations: 4 kB / 0.8731 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.8285, allocations: 3.562 kB / 0.8731 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8285, allocations: 1.094 kB / 0.8731 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.8288, allocations: 120.3 kB / 0.8732 GB, free: 18.69 MB / 0.6856 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.0005274/0.8293, allocations: 378.9 kB / 0.8736 GB, free: 18.36 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.8296, allocations: 121.6 kB / 0.8737 GB, free: 18.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.8296, allocations: 41.83 kB / 0.8737 GB, free: 18.33 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01323/0.8429, allocations: 4.675 MB / 0.8783 GB, free: 16.26 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.8429, allocations: 32.16 kB / 0.8783 GB, free: 16.22 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.8429, allocations: 0.9688 kB / 0.8783 GB, free: 16.22 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0005888/0.8435, allocations: 168.8 kB / 0.8785 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.8435, allocations: 54.12 kB / 0.8785 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.261e-05/0.8436, allocations: 100.5 kB / 0.8786 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.8437, allocations: 27.72 kB / 0.8787 GB, free: 16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.8437, allocations: 89.95 kB / 0.8787 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.8437, allocations: 39.09 kB / 0.8788 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.8438, allocations: 33.23 kB / 0.8788 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.844, allocations: 319.5 kB / 0.8791 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.388e-05/0.844, allocations: 25.7 kB / 0.8791 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.8441, allocations: 30.92 kB / 0.8792 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.8442, allocations: 70.67 kB / 0.8792 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8442, allocations: 1.25 kB / 0.8792 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000198/0.8444, allocations: 112.1 kB / 0.8793 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.8444, allocations: 8.312 kB / 0.8794 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8444, allocations: 5.281 kB / 0.8794 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.8444, allocations: 1.219 kB / 0.8794 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.8446, allocations: 22.45 kB / 0.8794 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.8446, allocations: 2 kB / 0.8794 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.8446, allocations: 9.359 kB / 0.8794 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.8447, allocations: 7.375 kB / 0.8794 GB, free: 15.5 MB / 0.6856 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.000102/0.8448, allocations: 119.7 kB / 0.8795 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.8448, allocations: 3.312 kB / 0.8795 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.8453, allocations: 375.8 kB / 0.8799 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.8453, allocations: 6.312 kB / 0.8799 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8453, allocations: 4.719 kB / 0.8799 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8453, allocations: 1.094 kB / 0.8799 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.8456, allocations: 283.4 kB / 0.8802 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8456, allocations: 0.75 kB / 0.8802 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.8457, allocations: 22.95 kB / 0.8802 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.8458, allocations: 2.344 kB / 0.8802 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.8458, allocations: 1.188 kB / 0.8802 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.8458, allocations: 2.375 kB / 0.8802 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8458, allocations: 3.094 kB / 0.8802 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.8462, allocations: 340.7 kB / 0.8805 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.8463, allocations: 107 kB / 0.8806 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.8463, allocations: 5.234 kB / 0.8806 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.8464, allocations: 9.438 kB / 0.8806 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.8465, allocations: 11.33 kB / 0.8806 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.8465, allocations: 6.266 kB / 0.8806 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.8465, allocations: 83.25 kB / 0.8807 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8465, allocations: 0 / 0.8807 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001826/0.8483, allocations: 308.4 kB / 0.881 GB, free: 14.74 MB / 0.6856 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.002549/0.8509, allocations: 1.158 MB / 0.8821 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.8512, allocations: 120.9 kB / 0.8823 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8512, allocations: 1.625 kB / 0.8823 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.8513, allocations: 87.94 kB / 0.8823 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.8516, allocations: 16.77 kB / 0.8824 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.8527, allocations: 444.4 kB / 0.8828 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.853, allocations: 0.7198 MB / 0.8835 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.8532, allocations: 27.41 kB / 0.8835 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.8532, allocations: 38.73 kB / 0.8836 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of SimCode: time 2.71e-07/0.8532, allocations: 3.938 kB / 0.8836 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.892, allocations: 11.73 MB / 0.895 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/9.422, allocations: 6.562 kB / 0.895 GB, free: 12.29 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.518012833083048] Failed to read output from testmodel.py, exit status != 0: 9.494010023074225 9.504957917 8.676510275 Calling exit ...