Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001432/0.001432, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001529/0.001529, allocations: 214.8 kB / 22.25 MB, free: 5.078 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9433/0.9433, allocations: 134 MB / 446.4 MB, free: 10.66 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002605/0.002605, allocations: 72.02 kB / 0.6185 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1984, allocations: 85.9 MB / 0.7024 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.616/0.8143, allocations: 138.9 MB / 0.838 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.8245, allocations: 8.061 MB / 0.8459 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.8246, allocations: 0 / 0.8459 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.8248, allocations: 21.25 kB / 0.8459 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.8249, allocations: 18.41 kB / 0.846 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004764/0.8296, allocations: 1.482 MB / 0.8474 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.8298, allocations: 82.95 kB / 0.8475 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.8299, allocations: 6.875 kB / 0.8475 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.83, allocations: 43.06 kB / 0.8475 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.8301, allocations: 40.02 kB / 0.8476 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.8301, allocations: 3.062 kB / 0.8476 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004967/0.8351, allocations: 2.717 MB / 0.8502 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.8351, allocations: 11.98 kB / 0.8502 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.8352, allocations: 31.84 kB / 0.8503 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.8374, allocations: 1.388 MB / 0.8516 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.8374, allocations: 4 kB / 0.8516 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8374, allocations: 0 / 0.8516 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.8374, allocations: 0 / 0.8516 GB, free: 13.79 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.001018/0.8384, allocations: 437.2 kB / 0.852 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.8385, allocations: 8.031 kB / 0.852 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.8385, allocations: 34.75 kB / 0.8521 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.8389, allocations: 28.86 kB / 0.8521 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.839, allocations: 118.4 kB / 0.8522 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.8391, allocations: 63.97 kB / 0.8523 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.8391, allocations: 7.938 kB / 0.8523 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.8395, allocations: 121.6 kB / 0.8524 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.8395, allocations: 0 / 0.8524 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.8395, allocations: 0 / 0.8524 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.8395, allocations: 0 / 0.8524 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.8398, allocations: 127.8 kB / 0.8525 GB, free: 12.79 MB / 0.6231 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.0005707/0.8404, allocations: 347.8 kB / 0.8529 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.8407, allocations: 118.6 kB / 0.853 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.8407, allocations: 40.84 kB / 0.853 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.8518, allocations: 3.036 MB / 0.856 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.8518, allocations: 38.5 kB / 0.856 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.8518, allocations: 0 / 0.856 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0005599/0.8524, allocations: 167.3 kB / 0.8562 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.8524, allocations: 55.41 kB / 0.8562 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.8525, allocations: 102 kB / 0.8563 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.8525, allocations: 29.64 kB / 0.8564 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.8526, allocations: 88.08 kB / 0.8564 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.8526, allocations: 51.58 kB / 0.8565 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.8527, allocations: 29.7 kB / 0.8565 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.8529, allocations: 322.8 kB / 0.8568 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.8529, allocations: 23.98 kB / 0.8568 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.853, allocations: 23.98 kB / 0.8569 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.8531, allocations: 75.28 kB / 0.8569 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8531, allocations: 4 kB / 0.8569 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001935/0.8533, allocations: 105.7 kB / 0.857 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8533, allocations: 4 kB / 0.857 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8533, allocations: 48 / 0.857 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.8533, allocations: 6.734 kB / 0.8571 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.8535, allocations: 27.92 kB / 0.8571 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.8535, allocations: 4 kB / 0.8571 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.8535, allocations: 11.83 kB / 0.8571 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.8535, allocations: 8 kB / 0.8571 GB, free: 7.965 MB / 0.6231 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.239e-05/0.8536, allocations: 113.8 kB / 0.8572 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.8537, allocations: 11.94 kB / 0.8572 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.8542, allocations: 367.6 kB / 0.8576 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.8542, allocations: 11.98 kB / 0.8576 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.8542, allocations: 3.938 kB / 0.8576 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.8542, allocations: 7.938 kB / 0.8576 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.8545, allocations: 252.3 kB / 0.8578 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8545, allocations: 4 kB / 0.8578 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.8546, allocations: 19.98 kB / 0.8579 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8546, allocations: 0 / 0.8579 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.8546, allocations: 7.984 kB / 0.8579 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.8547, allocations: 4 kB / 0.8579 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8547, allocations: 0 / 0.8579 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.855, allocations: 335.1 kB / 0.8582 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.8551, allocations: 35.8 kB / 0.8582 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.8551, allocations: 0 / 0.8582 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.8552, allocations: 8 kB / 0.8582 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.8553, allocations: 7.984 kB / 0.8582 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.8553, allocations: 15.8 kB / 0.8583 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.8553, allocations: 87.22 kB / 0.8583 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.8553, allocations: 0 / 0.8583 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009372/0.8563, allocations: 307.6 kB / 0.8586 GB, free: 6.328 MB / 0.6231 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.001817/0.8581, allocations: 1.162 MB / 0.8598 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.8583, allocations: 120 kB / 0.8599 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8583, allocations: 0 / 0.8599 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.8585, allocations: 91.91 kB / 0.86 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.8588, allocations: 19.92 kB / 0.86 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/0.8598, allocations: 442.5 kB / 0.8604 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.8601, allocations: 0.7171 MB / 0.8611 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.8602, allocations: 44.39 kB / 0.8612 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.8603, allocations: 35.42 kB / 0.8612 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.8603, allocations: 0 / 0.8612 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.9053, allocations: 11.98 MB / 0.8729 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.2, allocations: 6.25 kB / 0.8729 GB, free: 7.777 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.168975218002743] Failed to read output from testmodel.py, exit status != 0: 12.309001310000895 12.330892813 11.489146527 Calling exit ...