Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",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.001545/0.001545, allocations: 174.6 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.658/1.658, 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.0009424/0.0009424, allocations: 94.52 kB / 285.6 MB, free: 12.99 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.00273/0.00273, allocations: 0.5565 MB / 337 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.644e-05, allocations: 0 / 395.6 MB, free: 70.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 50.58 MB / 446.1 MB, free: 19.89 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.546/1.652, allocations: 493.3 MB / 0.9174 GB, free: 39.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.652, allocations: 82.11 kB / 0.9175 GB, free: 39.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14/2.793, allocations: 256.6 MB / 1.168 GB, free: 76.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.256e-06/2.793, allocations: 0 / 1.168 GB, free: 76.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.441e-05/2.793, allocations: 26.44 kB / 1.168 GB, free: 76.68 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.002771/2.796, allocations: 1.162 MB / 1.169 GB, free: 76.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/2.796, allocations: 7.531 kB / 1.169 GB, free: 76.1 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/2.796, allocations: 126.4 kB / 1.169 GB, free: 76.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/2.797, allocations: 165.3 kB / 1.17 GB, free: 76.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/2.798, allocations: 0.5896 MB / 1.17 GB, free: 75.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/2.798, allocations: 182.2 kB / 1.17 GB, free: 75.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/2.798, allocations: 66.41 kB / 1.17 GB, free: 75.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/2.8, allocations: 1.077 MB / 1.171 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/2.8, allocations: 9.969 kB / 1.171 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/2.8, allocations: 40.55 kB / 1.171 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/2.8, allocations: 33.44 kB / 1.171 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009976/2.801, allocations: 0.7473 MB / 1.172 GB, free: 75.31 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.004532/2.806, allocations: 5.681 MB / 1.178 GB, free: 71.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/2.806, allocations: 387.4 kB / 1.178 GB, free: 71.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/2.807, allocations: 210.2 kB / 1.178 GB, free: 71.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/2.807, allocations: 262.1 kB / 1.179 GB, free: 71.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/2.807, allocations: 45.5 kB / 1.179 GB, free: 71.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.215e-06/2.807, allocations: 0 / 1.179 GB, free: 71.02 MB / 442.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.007539/2.814, allocations: 2.464 MB / 1.181 GB, free: 70.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/2.814, allocations: 110.9 kB / 1.181 GB, free: 70.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/2.815, allocations: 0.5858 MB / 1.182 GB, free: 70.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/2.815, allocations: 35.95 kB / 1.182 GB, free: 70.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/2.815, allocations: 470.9 kB / 1.182 GB, free: 69.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/2.815, allocations: 204.8 kB / 1.182 GB, free: 69.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/2.816, allocations: 21.06 kB / 1.182 GB, free: 69.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/2.816, allocations: 386.7 kB / 1.183 GB, free: 69.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/2.816, allocations: 273.6 kB / 1.183 GB, free: 69.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/2.817, allocations: 0.7484 MB / 1.184 GB, free: 68.91 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/2.831, allocations: 2.589 MB / 1.186 GB, free: 68.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/2.832, allocations: 5.281 kB / 1.186 GB, free: 68.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001738/2.833, allocations: 1.187 MB / 1.187 GB, free: 68.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/2.833, allocations: 12.81 kB / 1.187 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/2.833, allocations: 16.22 kB / 1.187 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007889/2.834, allocations: 272.4 kB / 1.188 GB, free: 68.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/2.835, allocations: 208.6 kB / 1.188 GB, free: 68.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007723/2.835, allocations: 0.9052 MB / 1.189 GB, free: 68.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008454/2.836, allocations: 63.16 kB / 1.189 GB, free: 68.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/2.836, allocations: 104.8 kB / 1.189 GB, free: 68.17 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: V1.medium.p = V1.p_start. 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 (113): * Single equations (assignments): 112 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002284/2.837, allocations: 182.7 kB / 1.189 GB, free: 68.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/2.837, allocations: 83.66 kB / 1.189 GB, free: 68.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/2.839, allocations: 1.187 MB / 1.19 GB, free: 67.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/2.839, allocations: 13.83 kB / 1.19 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.839, allocations: 0 / 1.19 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/2.839, allocations: 8.719 kB / 1.19 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/2.842, allocations: 1.963 MB / 1.192 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/2.842, allocations: 5.016 kB / 1.192 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/2.842, allocations: 90 kB / 1.192 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/2.844, allocations: 281.2 kB / 1.193 GB, free: 67.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/2.844, allocations: 30.19 kB / 1.193 GB, free: 67.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007204/2.844, allocations: 0.8303 MB / 1.194 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/2.844, allocations: 0 / 1.194 GB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/2.846, allocations: 1.144 MB / 1.195 GB, free: 66.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/2.846, allocations: 210.5 kB / 1.195 GB, free: 66.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/2.846, allocations: 21.02 kB / 1.195 GB, free: 66.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/2.847, allocations: 39.36 kB / 1.195 GB, free: 66.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/2.847, allocations: 59.3 kB / 1.195 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/2.847, allocations: 64.88 kB / 1.195 GB, free: 66.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005882/2.848, allocations: 451.4 kB / 1.195 GB, free: 66.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.848, allocations: 0 / 1.195 GB, free: 66.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002176/2.85, allocations: 430.9 kB / 1.196 GB, free: 66.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (44): * Single equations (assignments): 43 * 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.003727/2.854, allocations: 2.984 MB / 1.199 GB, free: 64.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/2.855, allocations: 0.7688 MB / 1.2 GB, free: 64.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/2.855, allocations: 0 / 1.2 GB, free: 64.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/2.856, allocations: 333.1 kB / 1.2 GB, free: 64.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/2.858, allocations: 356.3 kB / 1.2 GB, free: 64.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/2.861, allocations: 1.463 MB / 1.202 GB, free: 64.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/2.861, allocations: 0.9984 MB / 1.203 GB, free: 63.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001554/2.863, allocations: 0.5814 MB / 1.203 GB, free: 63.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/2.863, allocations: 340.3 kB / 1.203 GB, free: 63.54 MB / 442.7 MB Notification: Performance of SimCode: time 9.91e-07/2.863, allocations: 0 / 1.203 GB, free: 63.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/2.929, allocations: 42.27 MB / 1.245 GB, free: 41.23 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/2.929, allocations: 266.9 kB / 1.245 GB, free: 40.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.306/6.235, allocations: 4 kB / 1.245 GB, free: 40.89 MB / 442.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)