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.001378/0.001378, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001466/0.001466, allocations: 215.9 kB / 22.99 MB, free: 4.977 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.593/1.593, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.031/1.031, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 178] 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.002101/0.002101, allocations: 66.55 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.21, allocations: 89.17 MB / 0.7281 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.6629/0.8729, allocations: 119.1 MB / 0.8445 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.883, allocations: 7.242 MB / 0.8515 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.887e-05/0.8831, allocations: 4 kB / 0.8515 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.8833, allocations: 17.12 kB / 0.8516 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.744e-05/0.8834, allocations: 18.22 kB / 0.8516 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004901/0.8883, allocations: 1.469 MB / 0.853 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.8885, allocations: 66.5 kB / 0.8531 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.8886, allocations: 6.797 kB / 0.8531 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.8887, allocations: 51.7 kB / 0.8531 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.8889, allocations: 30.45 kB / 0.8532 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.8889, allocations: 2.812 kB / 0.8532 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005212/0.8941, allocations: 2.619 MB / 0.8557 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.8941, allocations: 18.84 kB / 0.8557 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.8942, allocations: 25.33 kB / 0.8558 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.8979, allocations: 1.388 MB / 0.8571 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8979, allocations: 0 / 0.8571 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8979, allocations: 0 / 0.8571 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.8979, allocations: 0 / 0.8571 GB, free: 0.9062 MB / 0.6231 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.001124/0.899, allocations: 429.2 kB / 0.8575 GB, free: 468 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.8991, allocations: 12.03 kB / 0.8575 GB, free: 456 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.8991, allocations: 38.75 kB / 0.8576 GB, free: 408 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003964/0.8995, allocations: 28.86 kB / 0.8576 GB, free: 380 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.8997, allocations: 110.4 kB / 0.8577 GB, free: 244 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-05/0.8997, allocations: 59.97 kB / 0.8578 GB, free: 172 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.8998, allocations: 7.938 kB / 0.8578 GB, free: 164 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.9002, allocations: 151.3 kB / 0.8579 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.9002, allocations: 0 / 0.8579 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.9002, allocations: 0 / 0.8579 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9002, allocations: 0 / 0.8579 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.9005, allocations: 128.1 kB / 0.858 GB, free: 15.88 MB / 0.6387 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.0005684/0.9011, allocations: 287.9 kB / 0.8583 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.9014, allocations: 125.3 kB / 0.8584 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.9015, allocations: 43.19 kB / 0.8585 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.9131, allocations: 3.044 MB / 0.8614 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.9131, allocations: 34.56 kB / 0.8615 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.9131, allocations: 3.938 kB / 0.8615 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0005699/0.9137, allocations: 157.6 kB / 0.8616 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.9137, allocations: 59.34 kB / 0.8617 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.9138, allocations: 105.8 kB / 0.8618 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.9138, allocations: 25.7 kB / 0.8618 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.9139, allocations: 92.08 kB / 0.8619 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.9139, allocations: 43.58 kB / 0.8619 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.914, allocations: 33.7 kB / 0.862 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.9141, allocations: 322.8 kB / 0.8623 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.9142, allocations: 25.05 kB / 0.8623 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.9142, allocations: 19.98 kB / 0.8623 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.9144, allocations: 79.66 kB / 0.8624 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9144, allocations: 0 / 0.8624 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001872/0.9146, allocations: 109.6 kB / 0.8625 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9146, allocations: 8 kB / 0.8625 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.9146, allocations: 4 kB / 0.8625 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9146, allocations: 0 / 0.8625 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.9147, allocations: 19.98 kB / 0.8625 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.9147, allocations: 3.938 kB / 0.8625 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.9148, allocations: 12.39 kB / 0.8626 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.9148, allocations: 4 kB / 0.8626 GB, free: 11.12 MB / 0.6387 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.541e-05/0.9149, allocations: 113.8 kB / 0.8627 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.9149, allocations: 7.984 kB / 0.8627 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.9154, allocations: 376.1 kB / 0.863 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.9154, allocations: 11.98 kB / 0.863 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.9154, allocations: 6 kB / 0.863 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.9154, allocations: 3.938 kB / 0.8631 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.9157, allocations: 248.5 kB / 0.8633 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9157, allocations: 0 / 0.8633 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.9159, allocations: 19.98 kB / 0.8633 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.9159, allocations: 3.938 kB / 0.8633 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.9159, allocations: 8 kB / 0.8633 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9159, allocations: 0 / 0.8633 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9159, allocations: 3.984 kB / 0.8633 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.9163, allocations: 335 kB / 0.8636 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.9164, allocations: 35.77 kB / 0.8637 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.9164, allocations: 7.938 kB / 0.8637 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.9165, allocations: 7.984 kB / 0.8637 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.9166, allocations: 7.984 kB / 0.8637 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.9166, allocations: 16.8 kB / 0.8637 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.9166, allocations: 79.28 kB / 0.8638 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.9166, allocations: 3.938 kB / 0.8638 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000958/0.9176, allocations: 303.7 kB / 0.8641 GB, free: 9.48 MB / 0.6387 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.001879/0.9195, allocations: 1.16 MB / 0.8652 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.9197, allocations: 123.9 kB / 0.8653 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9197, allocations: 0 / 0.8653 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.9199, allocations: 95.91 kB / 0.8654 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.9202, allocations: 21.17 kB / 0.8654 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.9211, allocations: 427.2 kB / 0.8659 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.9212, allocations: 110.9 kB / 0.866 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.9213, allocations: 33.25 kB / 0.866 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.9214, allocations: 39.42 kB / 0.866 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.9214, allocations: 0 / 0.866 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.9663, allocations: 12.26 MB / 0.878 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.55, allocations: 8.719 kB / 0.878 GB, free: 11.3 MB / 0.6544 GB " [Timeout remaining time 647] (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: 16.8227181956172] Failed to read output from testmodel.py, exit status != 0: 12.66917176079005 12.696004454 11.793723802 Calling exit ...