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.001369/0.001369, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001649/0.001649, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.793 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.002456/0.002456, allocations: 283.5 kB / 312.7 MB, free: 2.586 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.188/1.188, allocations: 180.6 MB / 0.5369 GB, free: 14.66 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.002855/0.002855, allocations: 97.8 kB / 0.7395 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1685, allocations: 95.39 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1518/0.3203, allocations: 119.1 MB / 0.949 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00951/0.3298, allocations: 7.224 MB / 0.956 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.3299, allocations: 0 / 0.956 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.3301, allocations: 31.83 kB / 0.9561 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.3302, allocations: 15.86 kB / 0.9561 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.3337, allocations: 1.461 MB / 0.9575 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3339, allocations: 79.62 kB / 0.9576 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.3339, allocations: 4 kB / 0.9576 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.334, allocations: 39.86 kB / 0.9576 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.3341, allocations: 35.83 kB / 0.9576 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3341, allocations: 4 kB / 0.9576 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/0.3386, allocations: 2.614 MB / 0.9602 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.3386, allocations: 11.98 kB / 0.9602 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.3386, allocations: 35.84 kB / 0.9602 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.3406, allocations: 1.384 MB / 0.9616 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3406, allocations: 0 / 0.9616 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3406, allocations: 4 kB / 0.9616 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.3406, allocations: 0 / 0.9616 GB, free: 3.777 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.0008946/0.3415, allocations: 429.2 kB / 0.962 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3415, allocations: 9.344 kB / 0.962 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.3416, allocations: 42.73 kB / 0.9621 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.3419, allocations: 24.88 kB / 0.9621 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.342, allocations: 118.4 kB / 0.9622 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/0.3421, allocations: 63.72 kB / 0.9623 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.3421, allocations: 4 kB / 0.9623 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.3425, allocations: 155.2 kB / 0.9624 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3425, allocations: 0 / 0.9624 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3425, allocations: 3.938 kB / 0.9624 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3425, allocations: 4 kB / 0.9624 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.3428, allocations: 115.9 kB / 0.9625 GB, free: 2.742 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.0004851/0.3433, allocations: 299.7 kB / 0.9628 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.3436, allocations: 114.6 kB / 0.9629 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.632e-05/0.3437, allocations: 40.84 kB / 0.963 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.3553, allocations: 3.055 MB / 0.9659 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.3553, allocations: 30.56 kB / 0.966 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.3553, allocations: 0 / 0.966 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005417/0.3559, allocations: 175 kB / 0.9661 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3559, allocations: 51.41 kB / 0.9662 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.356, allocations: 105.8 kB / 0.9663 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.356, allocations: 25.7 kB / 0.9663 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.3561, allocations: 84.12 kB / 0.9664 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.3561, allocations: 51.58 kB / 0.9664 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.3562, allocations: 29.72 kB / 0.9665 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3563, allocations: 318.8 kB / 0.9668 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.3564, allocations: 23.98 kB / 0.9668 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.3565, allocations: 27.98 kB / 0.9668 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3566, allocations: 71.55 kB / 0.9669 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3566, allocations: 0 / 0.9669 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001842/0.3568, allocations: 105.7 kB / 0.967 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3568, allocations: 4 kB / 0.967 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3568, allocations: 0 / 0.967 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3568, allocations: 0 / 0.967 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3569, allocations: 31.92 kB / 0.967 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3569, allocations: 0 / 0.967 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.357, allocations: 19.81 kB / 0.967 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.357, allocations: 4 kB / 0.9671 GB, free: 13.98 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 8.937e-05/0.3571, allocations: 118.4 kB / 0.9672 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.3571, allocations: 7.953 kB / 0.9672 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004882/0.3576, allocations: 380.1 kB / 0.9675 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3576, allocations: 4 kB / 0.9675 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3576, allocations: 3.984 kB / 0.9675 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3576, allocations: 4.125 kB / 0.9675 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.3579, allocations: 256.5 kB / 0.9678 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3579, allocations: 7.984 kB / 0.9678 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.358, allocations: 27.92 kB / 0.9678 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.358, allocations: 3.938 kB / 0.9678 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.358, allocations: 4 kB / 0.9678 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.358, allocations: 0 / 0.9678 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.358, allocations: 0 / 0.9678 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.3584, allocations: 339 kB / 0.9682 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.3585, allocations: 31.81 kB / 0.9682 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.3585, allocations: 0 / 0.9682 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3586, allocations: 8 kB / 0.9682 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.3586, allocations: 19.84 kB / 0.9682 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3587, allocations: 8 kB / 0.9682 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.3587, allocations: 83.28 kB / 0.9683 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3587, allocations: 0 / 0.9683 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008514/0.3596, 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.001748/0.3613, allocations: 1.149 MB / 0.9697 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3615, allocations: 123.9 kB / 0.9698 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3615, allocations: 0 / 0.9698 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3617, allocations: 97.81 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.0002784/0.3619, allocations: 23.92 kB / 0.97 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008467/0.3628, allocations: 430.6 kB / 0.9704 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.52e-05/0.3629, allocations: 106.3 kB / 0.9705 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.363, allocations: 36.33 kB / 0.9705 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.363, allocations: 39.42 kB / 0.9705 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.363, allocations: 3.938 kB / 0.9705 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3758/0.7388, allocations: 12.26 MB / 0.9825 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.77, allocations: 5.516 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.900861621834338] Failed to read output from testmodel.py, exit status != 0: 11.882714350707829 11.908663261 11.562592947 Calling exit ...