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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 104.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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.8833/0.8833, allocations: 133.9 MB / 436.6 MB, free: 14.19 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 0.6051 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4883, allocations: 84.67 MB / 0.6878 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1697/0.658, allocations: 136 MB / 0.8206 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01262/0.6706, allocations: 7.962 MB / 0.8283 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.6707, allocations: 0 / 0.8283 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.6709, allocations: 19.89 kB / 0.8284 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.671, allocations: 23.78 kB / 0.8284 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.6757, allocations: 1.463 MB / 0.8298 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.6758, allocations: 75.69 kB / 0.8299 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.6759, allocations: 7.984 kB / 0.8299 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.6761, allocations: 55.83 kB / 0.83 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.6762, allocations: 27.86 kB / 0.83 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.6762, allocations: 4 kB / 0.83 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005994/0.6822, allocations: 2.708 MB / 0.8326 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.6822, allocations: 15.97 kB / 0.8326 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.874e-05/0.6823, allocations: 31.81 kB / 0.8327 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003365/0.6856, allocations: 1.38 MB / 0.834 GB, free: 360 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6856, allocations: 0 / 0.834 GB, free: 360 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6856, allocations: 0 / 0.834 GB, free: 360 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.6857, allocations: 0 / 0.834 GB, free: 360 kB / 0.6387 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.001352/0.687, allocations: 0.5061 MB / 0.8345 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.6871, allocations: 11.97 kB / 0.8345 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.6871, allocations: 42.69 kB / 0.8346 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004335/0.6876, allocations: 24.86 kB / 0.8346 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.6877, allocations: 168.3 kB / 0.8347 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.6878, allocations: 38.02 kB / 0.8348 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.6878, allocations: 4 kB / 0.8348 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.6882, allocations: 125.6 kB / 0.8349 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6882, allocations: 0 / 0.8349 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.6882, allocations: 4 kB / 0.8349 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6882, allocations: 0 / 0.8349 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.6886, allocations: 123.8 kB / 0.835 GB, free: 15.21 MB / 0.6544 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.0005577/0.6891, allocations: 380.1 kB / 0.8354 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.6894, allocations: 114.6 kB / 0.8355 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/0.6895, allocations: 44.84 kB / 0.8355 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01205/0.7015, allocations: 4.23 MB / 0.8397 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.7016, allocations: 34.56 kB / 0.8397 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.7016, allocations: 0 / 0.8397 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.000621/0.7022, allocations: 169.6 kB / 0.8399 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.7022, allocations: 55.41 kB / 0.8399 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.7023, allocations: 97.8 kB / 0.84 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.7024, allocations: 29.7 kB / 0.84 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.7024, allocations: 84.14 kB / 0.8401 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.7025, allocations: 47.62 kB / 0.8402 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.7025, allocations: 29.7 kB / 0.8402 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7027, allocations: 318.8 kB / 0.8405 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.7027, allocations: 23.98 kB / 0.8405 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.7028, allocations: 30.94 kB / 0.8406 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.7029, allocations: 64.84 kB / 0.8406 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7029, allocations: 0 / 0.8406 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002102/0.7031, allocations: 113.6 kB / 0.8407 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7031, allocations: 8 kB / 0.8407 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7031, allocations: 0 / 0.8407 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7032, allocations: 0 / 0.8407 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.7033, allocations: 23.92 kB / 0.8408 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7033, allocations: 4 kB / 0.8408 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.7034, allocations: 11.88 kB / 0.8408 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.7034, allocations: 7.984 kB / 0.8408 GB, free: 8.859 MB / 0.6544 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.0001086/0.7035, allocations: 109.8 kB / 0.8409 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.7035, allocations: 7.953 kB / 0.8409 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.704, allocations: 388.6 kB / 0.8413 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.7041, allocations: 4 kB / 0.8413 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7041, allocations: 0 / 0.8413 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.7041, allocations: 7.922 kB / 0.8413 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.7044, allocations: 277.4 kB / 0.8415 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.7044, allocations: 4 kB / 0.8415 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.7045, allocations: 27.98 kB / 0.8416 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7045, allocations: 0 / 0.8416 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.7045, allocations: 0 / 0.8416 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7045, allocations: 0 / 0.8416 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7045, allocations: 4 kB / 0.8416 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.7049, allocations: 338.9 kB / 0.8419 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.705, allocations: 104.9 kB / 0.842 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.705, allocations: 4 kB / 0.842 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.7052, allocations: 7.984 kB / 0.842 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.7052, allocations: 12.12 kB / 0.842 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.7052, allocations: 7.984 kB / 0.842 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.425e-05/0.7053, allocations: 87.27 kB / 0.8421 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7053, allocations: 0 / 0.8421 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009673/0.7062, allocations: 303.7 kB / 0.8424 GB, free: 7.102 MB / 0.6544 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.002201/0.7084, allocations: 1.141 MB / 0.8435 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.7087, allocations: 119.9 kB / 0.8436 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.7087, allocations: 0 / 0.8436 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.7089, allocations: 95.91 kB / 0.8437 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.7092, allocations: 19.92 kB / 0.8437 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.7105, allocations: 441.9 kB / 0.8442 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.711, allocations: 0.7166 MB / 0.8449 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.7111, allocations: 28.12 kB / 0.8449 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.7112, allocations: 39.42 kB / 0.8449 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/0.7112, allocations: 0 / 0.8449 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05839/0.7696, allocations: 11.62 MB / 0.8563 GB, free: 8.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.893, allocations: 9.031 kB / 0.8563 GB, free: 8.906 MB / 0.67 GB " [Timeout remaining time 651] (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: 12.610723672900349] Failed to read output from testmodel.py, exit status != 0: 8.965626401361078 9.266857082 8.578254657 Calling exit ...