Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",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.001592/0.001591, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 221.5 MB / 229.6 MB, free: 3.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009113/0.0009113, allocations: 90.67 kB / 280.5 MB, free: 1.164 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.0024/0.0024, allocations: 0.5674 MB / 331.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.542e-05/1.543e-05, allocations: 0 / 388.7 MB, free: 75.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 50.57 MB / 439.3 MB, free: 25.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/1.463, allocations: 492.6 MB / 0.91 GB, free: 70.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.464, allocations: 76.59 kB / 0.9101 GB, free: 70.74 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.097/2.561, allocations: 253.6 MB / 1.158 GB, free: 72.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.561, allocations: 2.656 kB / 1.158 GB, free: 72.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.352e-05/2.561, allocations: 24.19 kB / 1.158 GB, free: 72.93 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002794/2.564, allocations: 1.168 MB / 1.159 GB, free: 72.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/2.564, allocations: 7.938 kB / 1.159 GB, free: 72.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/2.565, allocations: 166.7 kB / 1.159 GB, free: 72.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/2.566, allocations: 0.5849 MB / 1.16 GB, free: 72.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/2.566, allocations: 155.1 kB / 1.16 GB, free: 72.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/2.566, allocations: 44.88 kB / 1.16 GB, free: 72.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001058/2.567, allocations: 0.678 MB / 1.16 GB, free: 72.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/2.568, allocations: 0.973 MB / 1.161 GB, free: 71.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/2.569, allocations: 8.891 kB / 1.161 GB, free: 71.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/2.569, allocations: 7.062 kB / 1.161 GB, free: 71.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/2.569, allocations: 34.78 kB / 1.161 GB, free: 71.8 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005404/2.574, allocations: 5.645 MB / 1.167 GB, free: 67.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/2.575, allocations: 328.3 kB / 1.167 GB, free: 67.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/2.575, allocations: 182.4 kB / 1.167 GB, free: 67.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/2.575, allocations: 262 kB / 1.168 GB, free: 67.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/2.575, allocations: 41.64 kB / 1.168 GB, free: 67.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 2.735e-06/2.575, allocations: 3.5 kB / 1.168 GB, free: 67.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.009623/2.585, allocations: 2.381 MB / 1.17 GB, free: 66.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/2.585, allocations: 107.6 kB / 1.17 GB, free: 66.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/2.586, allocations: 0.5362 MB / 1.171 GB, free: 66.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/2.586, allocations: 27.08 kB / 1.171 GB, free: 66.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/2.586, allocations: 487.5 kB / 1.171 GB, free: 66.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/2.586, allocations: 183 kB / 1.171 GB, free: 66.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/2.586, allocations: 2.438 kB / 1.171 GB, free: 66.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/2.587, allocations: 379.8 kB / 1.172 GB, free: 66.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/2.587, allocations: 251.8 kB / 1.172 GB, free: 66.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/2.588, allocations: 0.719 MB / 1.173 GB, free: 65.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/2.592, allocations: 1.011 MB / 1.174 GB, free: 65.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/2.592, allocations: 4.656 kB / 1.174 GB, free: 65.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002753/2.594, allocations: 1.268 MB / 1.175 GB, free: 65.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/2.594, allocations: 11.75 kB / 1.175 GB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/2.595, allocations: 16.48 kB / 1.175 GB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/2.596, allocations: 414.6 kB / 1.175 GB, free: 65.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/2.597, allocations: 184.8 kB / 1.176 GB, free: 65.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/2.598, allocations: 1.132 MB / 1.177 GB, free: 64.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/2.599, allocations: 50.86 kB / 1.177 GB, free: 64.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/2.599, allocations: 99.09 kB / 1.177 GB, free: 64.66 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.V1.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0002228/2.599, allocations: 156.5 kB / 1.177 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001876/2.601, allocations: 0.7318 MB / 1.178 GB, free: 64.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/2.601, allocations: 72.91 kB / 1.178 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/2.604, allocations: 0.9839 MB / 1.179 GB, free: 64.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/2.604, allocations: 9.094 kB / 1.179 GB, free: 64.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/2.604, allocations: 0.5 kB / 1.179 GB, free: 64.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/2.604, allocations: 7.469 kB / 1.179 GB, free: 64.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/2.606, allocations: 1.591 MB / 1.18 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/2.606, allocations: 3 kB / 1.18 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/2.607, allocations: 82.44 kB / 1.18 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/2.608, allocations: 271 kB / 1.181 GB, free: 63.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/2.608, allocations: 23.08 kB / 1.181 GB, free: 63.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006832/2.609, allocations: 0.8503 MB / 1.181 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/2.609, allocations: 0 / 1.181 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/2.611, allocations: 1.066 MB / 1.182 GB, free: 63.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/2.611, allocations: 211.5 kB / 1.183 GB, free: 63.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/2.611, allocations: 5.641 kB / 1.183 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/2.612, allocations: 30.8 kB / 1.183 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/2.612, allocations: 45.2 kB / 1.183 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/2.612, allocations: 53.23 kB / 1.183 GB, free: 63.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004335/2.612, allocations: 397.5 kB / 1.183 GB, free: 62.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/2.612, allocations: 2.844 kB / 1.183 GB, free: 62.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001723/2.614, allocations: 381.2 kB / 1.184 GB, free: 62.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00456/2.619, allocations: 2.777 MB / 1.186 GB, free: 62.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/2.62, allocations: 0.6798 MB / 1.187 GB, free: 62.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/2.62, allocations: 0 / 1.187 GB, free: 62.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006301/2.621, allocations: 297.2 kB / 1.187 GB, free: 62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/2.623, allocations: 301.6 kB / 1.187 GB, free: 62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/2.626, allocations: 1.337 MB / 1.189 GB, free: 61.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/2.626, allocations: 1.008 MB / 1.19 GB, free: 60.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00142/2.627, allocations: 0.5066 MB / 1.19 GB, free: 60.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/2.628, allocations: 325.9 kB / 1.191 GB, free: 60.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.753e-06/2.628, allocations: 2.625 kB / 1.191 GB, free: 60.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05524/2.683, allocations: 30.66 MB / 1.221 GB, free: 59.63 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/2.684, allocations: 247.4 kB / 1.221 GB, free: 59.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/5.648, allocations: 0 / 1.221 GB, free: 59.35 MB / 442.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)