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.001382/0.001382, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001754/0.001754, allocations: 214.3 kB / 22.25 MB, free: 4.852 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.793 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.8797/0.8797, allocations: 134 MB / 446.4 MB, free: 9.957 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.002073/0.002073, allocations: 64.25 kB / 0.6185 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1838, allocations: 85.92 MB / 0.7024 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5747/0.7585, allocations: 119.2 MB / 0.8187 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.7689, allocations: 7.24 MB / 0.8258 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.7689, allocations: 0 / 0.8258 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.7691, allocations: 18.78 kB / 0.8258 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.7692, allocations: 18.44 kB / 0.8258 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004445/0.7736, allocations: 1.465 MB / 0.8273 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.7738, allocations: 74.47 kB / 0.8273 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.7739, allocations: 6.812 kB / 0.8273 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.7741, allocations: 51.48 kB / 0.8274 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.7742, allocations: 30.23 kB / 0.8274 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.7742, allocations: 5.938 kB / 0.8274 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00578/0.78, allocations: 2.613 MB / 0.83 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.78, allocations: 13.92 kB / 0.83 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.7801, allocations: 33.25 kB / 0.83 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.7831, allocations: 1.381 MB / 0.8314 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7831, allocations: 4 kB / 0.8314 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7832, allocations: 0 / 0.8314 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.7832, allocations: 0 / 0.8314 GB, free: 13.37 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.001265/0.7844, allocations: 431.2 kB / 0.8318 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7845, allocations: 11.44 kB / 0.8318 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.7845, allocations: 38.73 kB / 0.8318 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.7849, allocations: 24.28 kB / 0.8319 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.785, allocations: 121.2 kB / 0.832 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.7851, allocations: 55.12 kB / 0.832 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.7852, allocations: 17.12 kB / 0.832 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.7856, allocations: 144.5 kB / 0.8322 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.7856, allocations: 0 / 0.8322 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.7856, allocations: 4 kB / 0.8322 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.7856, allocations: 2.906 kB / 0.8322 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.7859, allocations: 117.1 kB / 0.8323 GB, free: 12.58 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.0005246/0.7864, allocations: 297.1 kB / 0.8326 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.7867, allocations: 112.1 kB / 0.8327 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.7868, allocations: 46.02 kB / 0.8327 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.7981, allocations: 3.051 MB / 0.8357 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.7981, allocations: 38.56 kB / 0.8358 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.7981, allocations: 0 / 0.8358 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005644/0.7987, allocations: 172.6 kB / 0.8359 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.7987, allocations: 51.41 kB / 0.836 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.7988, allocations: 97.84 kB / 0.8361 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.7988, allocations: 29.7 kB / 0.8361 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.7989, allocations: 88.08 kB / 0.8362 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.799, allocations: 47.58 kB / 0.8362 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.799, allocations: 33.7 kB / 0.8363 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.7992, allocations: 322.8 kB / 0.8366 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.7993, allocations: 23.98 kB / 0.8366 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.7993, allocations: 27.98 kB / 0.8366 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.7994, allocations: 64.84 kB / 0.8367 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7994, allocations: 0 / 0.8367 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002266/0.7997, allocations: 111.2 kB / 0.8368 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.7997, allocations: 8 kB / 0.8368 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7997, allocations: 0 / 0.8368 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.7997, allocations: 0 / 0.8368 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.7999, allocations: 22.8 kB / 0.8368 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.7999, allocations: 7.938 kB / 0.8368 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.7999, allocations: 19.83 kB / 0.8368 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.7999, allocations: 4 kB / 0.8368 GB, free: 9.094 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 0.0001192/0.8001, allocations: 119.7 kB / 0.8369 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.8001, allocations: 7.953 kB / 0.837 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.8007, allocations: 368.5 kB / 0.8373 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.8007, allocations: 7.984 kB / 0.8373 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.8007, allocations: 0 / 0.8373 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.8007, allocations: 3.938 kB / 0.8373 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.8011, allocations: 256.2 kB / 0.8376 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.8011, allocations: 4 kB / 0.8376 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.8012, allocations: 27.92 kB / 0.8376 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8012, allocations: 0 / 0.8376 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.8012, allocations: 8.172 kB / 0.8376 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.8012, allocations: 0 / 0.8376 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8012, allocations: 0 / 0.8376 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.8016, allocations: 343.2 kB / 0.8379 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.8017, allocations: 23.81 kB / 0.838 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.8017, allocations: 7.984 kB / 0.838 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.8018, allocations: 4.547 kB / 0.838 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.8019, allocations: 11.98 kB / 0.838 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.8019, allocations: 15.86 kB / 0.838 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.8019, allocations: 79.28 kB / 0.8381 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8019, allocations: 3.938 kB / 0.8381 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001136/0.8031, allocations: 311.6 kB / 0.8384 GB, free: 7.453 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.002242/0.8053, allocations: 1.149 MB / 0.8395 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.8056, allocations: 129 kB / 0.8396 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8056, allocations: 0 / 0.8396 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.8057, allocations: 87.91 kB / 0.8397 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.806, allocations: 31.53 kB / 0.8397 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.8071, allocations: 438.6 kB / 0.8401 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.8072, allocations: 106.9 kB / 0.8402 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.8073, allocations: 30.05 kB / 0.8403 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.8074, allocations: 43.41 kB / 0.8403 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.8074, allocations: 0 / 0.8403 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/0.8509, allocations: 12.25 MB / 0.8523 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.98, allocations: 6.234 kB / 0.8523 GB, free: 9.281 MB / 0.6231 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 & /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: 15.73820196930319] Failed to read output from testmodel.py, exit status != 0: 12.084304746240377 12.10146981 11.314975164 Calling exit ...