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.007756/0.007756, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.00237/0.00237, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7936/0.7936, allocations: 132.2 MB / 422.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 65.86 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1601, allocations: 80.22 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5432/0.7033, allocations: 135.6 MB / 0.7916 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007675/0.711, allocations: 7.93 MB / 0.7993 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.7111, allocations: 5.406 kB / 0.7993 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.7113, allocations: 25.55 kB / 0.7993 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.7114, allocations: 19.5 kB / 0.7994 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.7154, allocations: 1.462 MB / 0.8008 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.7156, allocations: 74.22 kB / 0.8009 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.7156, allocations: 8.516 kB / 0.8009 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.7157, allocations: 48.33 kB / 0.8009 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.7158, allocations: 39.61 kB / 0.801 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.7159, allocations: 2.75 kB / 0.801 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.72, allocations: 2.702 MB / 0.8036 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.7201, allocations: 19.34 kB / 0.8036 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.7201, allocations: 33.88 kB / 0.8036 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.7221, allocations: 1.371 MB / 0.805 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7221, allocations: 0 / 0.805 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7221, allocations: 3.938 kB / 0.805 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.7221, allocations: 2.656 kB / 0.805 GB, free: 11.3 MB / 0.5919 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.0008986/0.723, allocations: 0.4906 MB / 0.8055 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7231, allocations: 10 kB / 0.8055 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.7231, allocations: 40.47 kB / 0.8055 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.7235, allocations: 25.66 kB / 0.8055 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.7236, allocations: 173.2 kB / 0.8057 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.7236, allocations: 31.83 kB / 0.8057 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.7237, allocations: 9.406 kB / 0.8057 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.724, allocations: 124.5 kB / 0.8059 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.724, allocations: 0 / 0.8059 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.724, allocations: 3.188 kB / 0.8059 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7241, allocations: 2.75 kB / 0.8059 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.7243, allocations: 114.6 kB / 0.806 GB, free: 10.48 MB / 0.5919 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.000432/0.7248, allocations: 378.4 kB / 0.8063 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.725, allocations: 125.1 kB / 0.8065 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.7251, allocations: 54.83 kB / 0.8065 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/0.7355, allocations: 4.226 MB / 0.8106 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.7356, allocations: 33.75 kB / 0.8107 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.7356, allocations: 2.75 kB / 0.8107 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005369/0.7361, allocations: 164.1 kB / 0.8108 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.7362, allocations: 57.97 kB / 0.8109 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.7363, allocations: 102 kB / 0.811 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.7363, allocations: 25.7 kB / 0.811 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.7363, allocations: 86.52 kB / 0.8111 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.7364, allocations: 53.52 kB / 0.8111 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.7364, allocations: 31.8 kB / 0.8112 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7366, allocations: 316.9 kB / 0.8115 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.7366, allocations: 29.2 kB / 0.8115 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.203e-05/0.7367, allocations: 25.33 kB / 0.8115 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.853e-05/0.7368, allocations: 66.03 kB / 0.8116 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7368, allocations: 0 / 0.8116 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000173/0.737, allocations: 114.1 kB / 0.8117 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.737, allocations: 9.125 kB / 0.8117 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.737, allocations: 4 kB / 0.8117 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.737, allocations: 0 / 0.8117 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.7371, allocations: 29.22 kB / 0.8117 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.7372, allocations: 2.406 kB / 0.8117 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.7372, allocations: 7.688 kB / 0.8117 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.7372, allocations: 4.188 kB / 0.8118 GB, free: 6.566 MB / 0.5919 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 7.245e-05/0.7373, allocations: 111.7 kB / 0.8119 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.7374, allocations: 12.92 kB / 0.8119 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.7378, allocations: 373.9 kB / 0.8122 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.7378, allocations: 6.109 kB / 0.8122 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7378, allocations: 0 / 0.8122 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.7378, allocations: 3.938 kB / 0.8122 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.738, allocations: 285.2 kB / 0.8125 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.738, allocations: 0.875 kB / 0.8125 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.7381, allocations: 20.92 kB / 0.8125 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7382, allocations: 3.938 kB / 0.8125 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.7382, allocations: 10.08 kB / 0.8125 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7382, allocations: 0 / 0.8125 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7382, allocations: 0.75 kB / 0.8125 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.7385, allocations: 333.5 kB / 0.8129 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.7386, allocations: 105 kB / 0.813 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.7386, allocations: 2.125 kB / 0.813 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.7387, allocations: 6.719 kB / 0.813 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.7387, allocations: 8.797 kB / 0.813 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.7388, allocations: 14.95 kB / 0.813 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.7388, allocations: 83.88 kB / 0.8131 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7388, allocations: 0 / 0.8131 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009634/0.7398, allocations: 297 kB / 0.8134 GB, free: 5.695 MB / 0.5919 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.001585/0.7414, allocations: 1.156 MB / 0.8145 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.7416, allocations: 119.8 kB / 0.8146 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7416, allocations: 0 / 0.8146 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.7417, allocations: 116.6 kB / 0.8147 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.742, allocations: 22.27 kB / 0.8147 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.7428, allocations: 432.5 kB / 0.8151 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.7431, allocations: 0.713 MB / 0.8158 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.7432, allocations: 37.97 kB / 0.8159 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.7433, allocations: 39.8 kB / 0.8159 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.7433, allocations: 0 / 0.8159 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.7746, allocations: 11.61 MB / 0.8273 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/8.349, allocations: 7.078 kB / 0.8273 GB, free: 13.87 MB / 0.6075 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)