Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 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) 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) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.0009559, allocations: 95.73 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002807/0.002807, allocations: 0.562 MB / 337 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.897e-05, allocations: 4 kB / 395.6 MB, free: 70.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1475, allocations: 50.58 MB / 446.1 MB, free: 19.89 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.6234, allocations: 75.23 MB / 0.5092 GB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.6238, allocations: 63.84 kB / 0.5092 GB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003778/0.6276, allocations: 0.9636 MB / 0.5102 GB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.234e-06/0.6277, allocations: 4 kB / 0.5102 GB, free: 11.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.6277, allocations: 7.938 kB / 0.5102 GB, free: 11.59 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006128/0.6283, allocations: 365.8 kB / 0.5105 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.185e-05/0.6284, allocations: 12.03 kB / 0.5105 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.6285, allocations: 30.56 kB / 0.5106 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.6285, allocations: 7 kB / 0.5106 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.6288, allocations: 174.9 kB / 0.5107 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.6288, allocations: 11.31 kB / 0.5107 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.6289, allocations: 6.844 kB / 0.5108 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.6291, allocations: 63.75 kB / 0.5108 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.6291, allocations: 3.938 kB / 0.5108 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.6292, allocations: 352 / 0.5108 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.6292, allocations: 7.953 kB / 0.5108 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.6293, allocations: 38.86 kB / 0.5109 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.6301, allocations: 301.1 kB / 0.5112 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.6304, allocations: 98.88 kB / 0.5112 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.6306, allocations: 38.72 kB / 0.5113 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.6306, allocations: 0 / 0.5113 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.6306, allocations: 38.45 kB / 0.5113 GB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.6306, allocations: 0 / 0.5113 GB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.003659/0.6343, allocations: 0.7323 MB / 0.512 GB, free: 9.641 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.6344, allocations: 51.41 kB / 0.5121 GB, free: 9.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.6346, allocations: 104.7 kB / 0.5122 GB, free: 9.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.6347, allocations: 25.7 kB / 0.5122 GB, free: 9.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.6348, allocations: 91.84 kB / 0.5123 GB, free: 9.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.6349, allocations: 58.52 kB / 0.5124 GB, free: 9.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.6349, allocations: 3.5 kB / 0.5124 GB, free: 9.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002702/0.6352, allocations: 326.5 kB / 0.5127 GB, free: 8.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.6353, allocations: 35.12 kB / 0.5127 GB, free: 8.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.6354, allocations: 61.44 kB / 0.5128 GB, free: 8.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.6356, allocations: 44.83 kB / 0.5128 GB, free: 8.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.6356, allocations: 3.953 kB / 0.5128 GB, free: 8.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002176/0.6378, allocations: 351.7 kB / 0.5131 GB, free: 8.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.6378, allocations: 9.562 kB / 0.5131 GB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.6379, allocations: 3.953 kB / 0.5132 GB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/0.6403, allocations: 276.9 kB / 0.5134 GB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.6405, allocations: 9.5 kB / 0.5134 GB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005234/0.6457, allocations: 2.076 MB / 0.5155 GB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.6458, allocations: 0 / 0.5155 GB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.6459, allocations: 11.56 kB / 0.5155 GB, free: 6.332 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.646, allocations: 113.7 kB / 0.5156 GB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.6461, allocations: 3.906 kB / 0.5156 GB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.6461, allocations: 22.56 kB / 0.5156 GB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6462, allocations: 0 / 0.5156 GB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.6462, allocations: 7.938 kB / 0.5156 GB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6462, allocations: 4.031 kB / 0.5156 GB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.6466, allocations: 199.5 kB / 0.5158 GB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.6466, allocations: 7.953 kB / 0.5158 GB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.6467, allocations: 11.38 kB / 0.5158 GB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002682/0.6494, allocations: 271.8 kB / 0.5161 GB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.6494, allocations: 7.75 kB / 0.5161 GB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/0.6528, allocations: 1.734 MB / 0.5178 GB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6528, allocations: 0 / 0.5178 GB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.6544, allocations: 414.4 kB / 0.5182 GB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.6544, allocations: 81.02 kB / 0.5183 GB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.6545, allocations: 11.88 kB / 0.5183 GB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.6547, allocations: 0 / 0.5183 GB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.6547, allocations: 19.64 kB / 0.5183 GB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.6548, allocations: 288 / 0.5183 GB, free: 3.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.033e-05/0.6549, allocations: 86.84 kB / 0.5184 GB, free: 3.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6549, allocations: 0 / 0.5184 GB, free: 3.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006728/0.6555, allocations: 38.88 kB / 0.5184 GB, free: 3.379 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002/0.6576, allocations: 0.9273 MB / 0.5193 GB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009989/0.6586, allocations: 291 kB / 0.5196 GB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6586, allocations: 0 / 0.5196 GB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.6591, allocations: 228.5 kB / 0.5198 GB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.6593, allocations: 5.891 kB / 0.5198 GB, free: 2.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.6601, allocations: 232.6 kB / 0.52 GB, free: 1.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.6606, allocations: 0.7051 MB / 0.5207 GB, free: 1.047 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.356e-05/0.6607, allocations: 4.562 kB / 0.5207 GB, free: 1.043 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.6608, allocations: 24.92 kB / 0.5207 GB, free: 1.027 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6608, allocations: 0 / 0.5207 GB, free: 1.027 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.6859, allocations: 3.419 MB / 0.5241 GB, free: 13.82 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000483/0.6864, allocations: 280.3 kB / 0.5244 GB, free: 13.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.503, allocations: 0 / 0.5244 GB, free: 13.47 MB / 346.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)