Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.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.DynamicPipeLumpedPressureInitialization,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeLumpedPressureInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeLumpedPressureInitialization",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.00148/0.00148, 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.701/1.701, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.001232/0.001232, allocations: 100.6 kB / 280.5 MB, free: 5.324 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.003777/0.003777, allocations: 0.5622 MB / 331.8 MB, free: 14.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.886e-05, allocations: 4 kB / 388.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3918, allocations: 50.57 MB / 439.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.165/9.557, allocations: 2.828 GB / 3.257 GB, free: 130.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/9.557, allocations: 83.58 kB / 3.257 GB, free: 130.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064/11.62, allocations: 497 MB / 3.742 GB, free: 43.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/11.62, allocations: 0 / 3.742 GB, free: 43.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.658e-05/11.62, allocations: 34.53 kB / 3.742 GB, free: 43.99 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.0103/11.63, allocations: 2.897 MB / 3.745 GB, free: 42.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/11.63, allocations: 7.969 kB / 3.745 GB, free: 42.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/11.64, allocations: 0.5817 MB / 3.746 GB, free: 42.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/11.64, allocations: 1.476 MB / 3.747 GB, free: 42.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/11.64, allocations: 75.36 kB / 3.747 GB, free: 42.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/11.64, allocations: 84.84 kB / 3.747 GB, free: 42.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002996/11.64, allocations: 2.003 MB / 3.749 GB, free: 42.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/11.65, allocations: 2.034 MB / 3.751 GB, free: 42.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/11.65, allocations: 5.281 kB / 3.751 GB, free: 42.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/11.65, allocations: 3.781 kB / 3.751 GB, free: 42.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/11.65, allocations: 110.7 kB / 3.751 GB, free: 42.08 MB / 458.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.2774/11.92, allocations: 133.5 MB / 3.882 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/11.93, allocations: 1.176 MB / 3.883 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/11.93, allocations: 0.7528 MB / 3.884 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03386/11.96, allocations: 16.71 MB / 3.9 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/11.96, allocations: 0.8526 MB / 3.901 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=112): time 4.037e-06/11.96, allocations: 0 / 3.901 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136): time 0.01593/11.98, allocations: 6.028 MB / 3.907 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/11.98, allocations: 197.2 kB / 3.907 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/11.98, allocations: 0.8088 MB / 3.908 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001786/11.98, allocations: 29.64 kB / 3.908 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007281/11.98, allocations: 0.7202 MB / 3.908 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000507/11.98, allocations: 464.4 kB / 3.909 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/11.98, allocations: 3.75 kB / 3.909 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002434/11.98, allocations: 437.6 kB / 3.909 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/11.99, allocations: 0.8535 MB / 3.91 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/11.99, allocations: 1.342 MB / 3.911 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/12, allocations: 3.529 MB / 3.915 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/12, allocations: 4 kB / 3.915 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.3633/12.36, allocations: 3.215 MB / 3.918 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00115/12.36, allocations: 5.665 MB / 3.923 GB, free: 99.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.449e-05/12.36, allocations: 15.06 kB / 3.923 GB, free: 99.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00653/12.37, allocations: 1.957 MB / 3.925 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/12.37, allocations: 275.9 kB / 3.926 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006163/12.38, allocations: 3.243 MB / 3.929 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/12.38, allocations: 197 kB / 3.929 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/12.38, allocations: 83.98 kB / 3.929 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/12.38, allocations: 4.531 kB / 3.929 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006776/12.39, allocations: 3.095 MB / 3.932 GB, free: 98.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/12.39, allocations: 17.12 kB / 3.932 GB, free: 98.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005744/12.39, allocations: 1.765 MB / 3.934 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/12.39, allocations: 302 kB / 3.934 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/12.4, allocations: 2.871 MB / 3.937 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/12.4, allocations: 177.1 kB / 3.937 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/12.4, allocations: 88.86 kB / 3.937 GB, free: 98.3 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe.mediums[2].p = 0.0 $DER.pipe.mediums[3].p = 0.0 $DER.pipe.mediums[4].p = 0.0 $DER.pipe.mediums[1].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].phase,source.medium.phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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 {6 79} Notification: Performance of prepare postOptimizeDAE: time 0.0005512/12.4, allocations: 169.8 kB / 3.937 GB, free: 98.19 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004116/12.4, allocations: 2.246 MB / 3.939 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/12.41, allocations: 134.4 kB / 3.94 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005323/12.41, allocations: 4.592 MB / 3.944 GB, free: 97.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/12.41, allocations: 45.77 kB / 3.944 GB, free: 97.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/12.41, allocations: 1.75 kB / 3.944 GB, free: 97.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004422/12.42, allocations: 4.273 MB / 3.948 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008609/12.42, allocations: 6.958 MB / 3.955 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/12.42, allocations: 0 / 3.955 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/12.42, allocations: 219.3 kB / 3.955 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/12.43, allocations: 1.196 MB / 3.956 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/12.43, allocations: 27.5 kB / 3.957 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/12.43, allocations: 2.385 MB / 3.959 GB, free: 95.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/12.43, allocations: 0 / 3.959 GB, free: 95.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006315/12.44, allocations: 4.874 MB / 3.964 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/12.44, allocations: 447.1 kB / 3.964 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004933/12.44, allocations: 17.81 kB / 3.964 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/12.44, allocations: 130.8 kB / 3.964 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/12.44, allocations: 149 kB / 3.964 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/12.44, allocations: 54.05 kB / 3.964 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009409/12.44, allocations: 0.5866 MB / 3.965 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/12.44, allocations: 0 / 3.965 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01179/12.45, allocations: 1.981 MB / 3.967 GB, free: 94.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pipe.mediums[1].h,pipe.mediums[2].h,pipe.mediums[3].h,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$whenCondition2,$whenCondition1,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].phase,m_flow_initial) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 1 * 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 {10 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.01582/12.47, allocations: 7.797 MB / 3.974 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00563/12.47, allocations: 3.736 MB / 3.978 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/12.47, allocations: 0 / 3.978 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/12.48, allocations: 1.604 MB / 3.98 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/12.48, allocations: 0.5087 MB / 3.98 GB, free: 93.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/12.49, allocations: 4.675 MB / 3.985 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/12.49, allocations: 1.611 MB / 3.986 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003199/12.5, allocations: 1.55 MB / 3.988 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000912/12.5, allocations: 0.6692 MB / 3.988 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/12.5, allocations: 0 / 3.988 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.137/12.64, allocations: 81.76 MB / 4.068 GB, free: 65.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/12.64, allocations: 252.4 kB / 4.069 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.721/17.36, allocations: 0 / 4.069 GB, free: 64.98 MB / 0.5105 GB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeLumpedPressureInitialization_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeLumpedPressureInitialization.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe 2>&1)