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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007245/0.007245, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 197.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8208/0.8208, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001888, allocations: 67.88 kB / 0.5808 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3794, allocations: 80.2 MB / 0.6592 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1581/0.5376, allocations: 135.6 MB / 0.7916 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.5482, allocations: 7.927 MB / 0.7993 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.5483, allocations: 0 / 0.7993 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.5485, allocations: 23.83 kB / 0.7993 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.5486, allocations: 19.84 kB / 0.7994 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.5523, allocations: 1.465 MB / 0.8008 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.5524, allocations: 71.66 kB / 0.8009 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.5525, allocations: 4 kB / 0.8009 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.5526, allocations: 51.83 kB / 0.8009 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.5527, allocations: 35.78 kB / 0.801 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.5528, allocations: 4 kB / 0.801 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004646/0.5574, allocations: 2.708 MB / 0.8036 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.5574, allocations: 11.98 kB / 0.8036 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.5575, allocations: 31.84 kB / 0.8036 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.5594, allocations: 1.376 MB / 0.805 GB, free: 380 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.5595, allocations: 0 / 0.805 GB, free: 380 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5595, allocations: 4 kB / 0.805 GB, free: 376 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.5595, allocations: 0 / 0.805 GB, free: 376 kB / 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.0009797/0.5605, allocations: 0.5022 MB / 0.8055 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.5605, allocations: 15.97 kB / 0.8055 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.5606, allocations: 34.75 kB / 0.8055 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.5609, allocations: 28.86 kB / 0.8056 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.5611, allocations: 164.3 kB / 0.8057 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.5611, allocations: 38.02 kB / 0.8057 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.5612, allocations: 8 kB / 0.8058 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.5615, allocations: 121.6 kB / 0.8059 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5615, allocations: 0 / 0.8059 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5616, allocations: 3.938 kB / 0.8059 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.5616, allocations: 4 kB / 0.8059 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.5619, allocations: 119.8 kB / 0.806 GB, free: 15.23 MB / 0.6387 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.0004859/0.5624, allocations: 380.1 kB / 0.8064 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.5627, allocations: 122.6 kB / 0.8065 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.5627, allocations: 60.77 kB / 0.8065 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/0.5748, allocations: 4.222 MB / 0.8107 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.5749, allocations: 34.56 kB / 0.8107 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.5749, allocations: 0 / 0.8107 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.000557/0.5754, allocations: 164.7 kB / 0.8108 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.5755, allocations: 51.41 kB / 0.8109 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.5756, allocations: 109.8 kB / 0.811 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.5756, allocations: 33.64 kB / 0.811 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.5757, allocations: 84.14 kB / 0.8111 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.5757, allocations: 39.64 kB / 0.8111 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.5758, allocations: 33.7 kB / 0.8112 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5759, allocations: 314.8 kB / 0.8115 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.576, allocations: 27.92 kB / 0.8115 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.576, allocations: 27.98 kB / 0.8115 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.5762, allocations: 64.84 kB / 0.8116 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.5762, allocations: 8 kB / 0.8116 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001899/0.5764, allocations: 109.6 kB / 0.8117 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5764, allocations: 8 kB / 0.8117 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5764, allocations: 0 / 0.8117 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5764, allocations: 0 / 0.8117 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.5766, allocations: 23.92 kB / 0.8117 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5766, allocations: 4 kB / 0.8117 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.5767, allocations: 11.88 kB / 0.8118 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.5767, allocations: 4 kB / 0.8118 GB, free: 8.867 MB / 0.6387 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.356e-05/0.5768, allocations: 117.8 kB / 0.8119 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.5768, allocations: 7.953 kB / 0.8119 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.5773, allocations: 376.6 kB / 0.8122 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.5774, allocations: 11.98 kB / 0.8122 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5774, allocations: 0 / 0.8122 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.5774, allocations: 4.125 kB / 0.8123 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.5777, allocations: 281.4 kB / 0.8125 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5777, allocations: 3.984 kB / 0.8125 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.5778, allocations: 16 kB / 0.8125 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5778, allocations: 7.984 kB / 0.8125 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5778, allocations: 8 kB / 0.8126 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5778, allocations: 0 / 0.8126 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5779, allocations: 0 / 0.8126 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.5782, allocations: 331 kB / 0.8129 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.5783, allocations: 108.9 kB / 0.813 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.5784, allocations: 0 / 0.813 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.5785, allocations: 8 kB / 0.813 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.5785, allocations: 11.92 kB / 0.813 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.5786, allocations: 15.98 kB / 0.813 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.5786, allocations: 83.22 kB / 0.8131 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5786, allocations: 0 / 0.8131 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008712/0.5795, allocations: 299.7 kB / 0.8134 GB, free: 7.113 MB / 0.6387 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.001881/0.5814, allocations: 1.152 MB / 0.8145 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.5816, allocations: 128 kB / 0.8146 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5816, allocations: 0 / 0.8146 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.5818, allocations: 111.9 kB / 0.8147 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.5821, allocations: 15.94 kB / 0.8147 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.583, allocations: 437.4 kB / 0.8152 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.5834, allocations: 0.7166 MB / 0.8159 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.5835, allocations: 32.17 kB / 0.8159 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.5836, allocations: 39.42 kB / 0.8159 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.5836, allocations: 0 / 0.8159 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3138/0.8974, allocations: 11.61 MB / 0.8273 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.152/10.05, allocations: 10.16 kB / 0.8273 GB, free: 8.902 MB / 0.6544 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)