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.001287/0.001287, allocations: 109.2 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.001632/0.001632, allocations: 218.8 kB / 22.26 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.98 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.9821/0.9821, allocations: 134 MB / 446.4 MB, free: 10.23 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.00199/0.00199, allocations: 66.88 kB / 0.6185 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2061, allocations: 85.9 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.6211/0.8271, allocations: 138.9 MB / 0.838 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.8379, allocations: 8.054 MB / 0.8459 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.8379, allocations: 0 / 0.8459 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.8381, allocations: 28.69 kB / 0.8459 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.8382, allocations: 22.66 kB / 0.846 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004085/0.8423, allocations: 1.474 MB / 0.8474 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.8424, allocations: 75.06 kB / 0.8475 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.8425, allocations: 10.73 kB / 0.8475 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.8427, allocations: 46.75 kB / 0.8475 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.8428, allocations: 40.27 kB / 0.8476 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.8428, allocations: 2.406 kB / 0.8476 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005245/0.848, allocations: 2.713 MB / 0.8502 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.8481, allocations: 15.97 kB / 0.8502 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.8481, allocations: 31.86 kB / 0.8503 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.8507, allocations: 1.395 MB / 0.8516 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8507, allocations: 0 / 0.8516 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8507, allocations: 0 / 0.8516 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8507, allocations: 0 / 0.8516 GB, free: 13.71 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.001216/0.8519, allocations: 441.2 kB / 0.852 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.852, allocations: 8.031 kB / 0.852 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.852, allocations: 38.75 kB / 0.8521 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.8524, allocations: 20.88 kB / 0.8521 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.8525, allocations: 119 kB / 0.8522 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.495e-05/0.8526, allocations: 55.97 kB / 0.8523 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.8526, allocations: 11.94 kB / 0.8523 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.853, allocations: 117.6 kB / 0.8524 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.853, allocations: 7.984 kB / 0.8524 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.853, allocations: 4 kB / 0.8524 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.853, allocations: 7.938 kB / 0.8524 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.8533, allocations: 119.8 kB / 0.8525 GB, free: 12.7 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.0005166/0.8539, allocations: 343.8 kB / 0.8529 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.8541, allocations: 118.6 kB / 0.853 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.8542, allocations: 49.62 kB / 0.853 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.8654, allocations: 3.036 MB / 0.856 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.8654, allocations: 34.56 kB / 0.856 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.8654, allocations: 0 / 0.856 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0005575/0.866, allocations: 167.1 kB / 0.8562 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.866, allocations: 55.41 kB / 0.8562 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.8661, allocations: 97.84 kB / 0.8563 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.8661, allocations: 33.7 kB / 0.8564 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.8662, allocations: 88.08 kB / 0.8564 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.8662, allocations: 51.58 kB / 0.8565 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.8663, allocations: 25.7 kB / 0.8565 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.8665, allocations: 318.8 kB / 0.8568 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.265e-05/0.8665, allocations: 27.98 kB / 0.8568 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/0.8666, allocations: 23.98 kB / 0.8569 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.8667, allocations: 73.91 kB / 0.8569 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8667, allocations: 4 kB / 0.8569 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002454/0.8669, allocations: 109.6 kB / 0.857 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8669, allocations: 4 kB / 0.857 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.8669, allocations: 0 / 0.857 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.867, allocations: 4 kB / 0.8571 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.8671, allocations: 19.98 kB / 0.8571 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.8671, allocations: 0 / 0.8571 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.8671, allocations: 15.83 kB / 0.8571 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.8672, allocations: 4 kB / 0.8571 GB, free: 7.898 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.744e-05/0.8673, allocations: 121.8 kB / 0.8572 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.8673, allocations: 7.953 kB / 0.8572 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.8678, allocations: 381.3 kB / 0.8576 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.8678, allocations: 3.984 kB / 0.8576 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8678, allocations: 0 / 0.8576 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8678, allocations: 3.938 kB / 0.8576 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.8681, allocations: 260.3 kB / 0.8578 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8681, allocations: 0 / 0.8578 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.8682, allocations: 27.92 kB / 0.8579 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.8682, allocations: 0 / 0.8579 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.8683, allocations: 11.98 kB / 0.8579 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8683, allocations: 3.938 kB / 0.8579 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8683, allocations: 3.938 kB / 0.8579 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.8686, allocations: 336.6 kB / 0.8582 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.8687, allocations: 23.81 kB / 0.8582 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.8687, allocations: 7.984 kB / 0.8582 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.8688, allocations: 4 kB / 0.8582 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.8689, allocations: 15.98 kB / 0.8582 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.8689, allocations: 11.92 kB / 0.8583 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.774e-05/0.8689, allocations: 83.45 kB / 0.8583 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.8689, allocations: 0 / 0.8583 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008916/0.8698, allocations: 307.6 kB / 0.8586 GB, free: 6.25 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.002101/0.8719, allocations: 1.153 MB / 0.8598 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.8722, allocations: 127.9 kB / 0.8599 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8722, allocations: 0 / 0.8599 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.8723, allocations: 87.91 kB / 0.86 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.8726, allocations: 21.17 kB / 0.86 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.8737, allocations: 443.2 kB / 0.8604 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.8741, allocations: 0.721 MB / 0.8611 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.8742, allocations: 32.06 kB / 0.8611 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.8743, allocations: 43.41 kB / 0.8612 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.8743, allocations: 0 / 0.8612 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04826/0.9226, allocations: 11.98 MB / 0.8729 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.43, allocations: 10.28 kB / 0.8729 GB, free: 7.699 MB / 0.6387 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.313729522982612] Failed to read output from testmodel.py, exit status != 0: 12.541753683937714 12.567259391 11.712159489 Calling exit ...