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.001848/0.001848, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002513/0.002513, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8963/0.8963, allocations: 134 MB / 447.2 MB, free: 9.941 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",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.001938/0.001938, allocations: 71.28 kB / 0.6192 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.196, allocations: 85.91 MB / 0.7031 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5687/0.7647, allocations: 119.1 MB / 0.8194 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009145/0.7739, allocations: 7.221 MB / 0.8265 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.7739, allocations: 3.938 kB / 0.8265 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.7741, allocations: 24.64 kB / 0.8265 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.7742, allocations: 22.56 kB / 0.8265 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.7779, allocations: 1.46 MB / 0.828 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.7781, allocations: 76.66 kB / 0.828 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.7781, allocations: 6.719 kB / 0.828 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.7782, allocations: 45.42 kB / 0.8281 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.7783, allocations: 37.19 kB / 0.8281 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.7783, allocations: 2.312 kB / 0.8281 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/0.7825, allocations: 2.693 MB / 0.8308 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.7825, allocations: 18.69 kB / 0.8308 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.7826, allocations: 28.89 kB / 0.8308 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.7846, allocations: 1.38 MB / 0.8321 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7846, allocations: 0 / 0.8321 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7846, allocations: 0.8438 kB / 0.8321 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.7847, allocations: 0 / 0.8321 GB, free: 13.29 MB / 0.6075 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.0009937/0.7856, allocations: 436 kB / 0.8326 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.7857, allocations: 7.812 kB / 0.8326 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.947e-05/0.7857, allocations: 6.719 kB / 0.8326 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.7857, allocations: 45.39 kB / 0.8326 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/0.7861, allocations: 22.25 kB / 0.8326 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7862, allocations: 111.8 kB / 0.8327 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.7864, allocations: 62.58 kB / 0.8328 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.7864, allocations: 13 kB / 0.8328 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.7867, allocations: 141.7 kB / 0.833 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.7868, allocations: 0 / 0.833 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.7868, allocations: 10.94 kB / 0.833 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.7868, allocations: 0 / 0.833 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.7871, allocations: 124 kB / 0.8331 GB, free: 12.49 MB / 0.6075 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.0005126/0.7876, allocations: 292 kB / 0.8334 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.7878, allocations: 109.1 kB / 0.8335 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.7879, allocations: 46.27 kB / 0.8335 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/0.7991, allocations: 3.047 MB / 0.8365 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.7991, allocations: 38.5 kB / 0.8365 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.7991, allocations: 8 kB / 0.8365 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000611/0.7997, allocations: 161.6 kB / 0.8367 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.7998, allocations: 59.41 kB / 0.8367 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.7999, allocations: 97.8 kB / 0.8368 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.7999, allocations: 29.7 kB / 0.8369 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.7999, allocations: 84.22 kB / 0.8369 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.8, allocations: 47.59 kB / 0.837 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.8, allocations: 29.7 kB / 0.837 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.8002, allocations: 318.8 kB / 0.8373 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.8002, allocations: 27.98 kB / 0.8373 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.8003, allocations: 27.94 kB / 0.8374 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.8004, allocations: 70.84 kB / 0.8374 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8004, allocations: 0 / 0.8374 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001989/0.8006, allocations: 105.7 kB / 0.8375 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8006, allocations: 4 kB / 0.8375 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.8006, allocations: 0 / 0.8375 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.8007, allocations: 4 kB / 0.8376 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.8008, allocations: 24.8 kB / 0.8376 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.8008, allocations: 0 / 0.8376 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.8009, allocations: 19.83 kB / 0.8376 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.8009, allocations: 3.984 kB / 0.8376 GB, free: 9.047 MB / 0.6075 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.938e-05/0.801, allocations: 117.8 kB / 0.8377 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.801, allocations: 7.953 kB / 0.8377 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/0.8015, allocations: 379.6 kB / 0.8381 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.8016, allocations: 7.984 kB / 0.8381 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8016, allocations: 4 kB / 0.8381 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.8016, allocations: 11.8 kB / 0.8381 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.8019, allocations: 252.2 kB / 0.8383 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.8019, allocations: 3.984 kB / 0.8383 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.802, allocations: 20 kB / 0.8384 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.802, allocations: 0 / 0.8384 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.802, allocations: 11.98 kB / 0.8384 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.802, allocations: 0 / 0.8384 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.802, allocations: 0 / 0.8384 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.8024, allocations: 343.1 kB / 0.8387 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.8025, allocations: 27.8 kB / 0.8387 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.8025, allocations: 4 kB / 0.8387 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.8026, allocations: 4 kB / 0.8387 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.8027, allocations: 15.92 kB / 0.8388 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.8027, allocations: 3.984 kB / 0.8388 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.8027, allocations: 79.28 kB / 0.8388 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.8027, allocations: 4 kB / 0.8388 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001058/0.8038, allocations: 311.6 kB / 0.8391 GB, free: 7.402 MB / 0.6075 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.002087/0.8059, allocations: 1.16 MB / 0.8403 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.8061, allocations: 121.8 kB / 0.8404 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8061, allocations: 0 / 0.8404 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.8062, allocations: 87.91 kB / 0.8405 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.8066, allocations: 24.95 kB / 0.8405 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009861/0.8075, allocations: 439.9 kB / 0.8409 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.755e-05/0.8076, allocations: 114.9 kB / 0.841 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.8078, allocations: 29.91 kB / 0.841 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.8078, allocations: 35.42 kB / 0.8411 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.8078, allocations: 4 kB / 0.8411 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.8464, allocations: 12 MB / 0.8528 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.66, allocations: 8.625 kB / 0.8528 GB, free: 9.48 MB / 0.6231 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.551954869064502] Failed to read output from testmodel.py, exit status != 0: 12.821901126066223 12.841402187 12.053054746 Calling exit ...