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.007623/0.007622, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.459/1.459, allocations: 223.2 MB / 239 MB, free: 1.812 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.001072/0.001072, allocations: 92.12 kB / 290.2 MB, free: 13.96 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.002995/0.002995, allocations: 0.5531 MB / 341.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 6.938 kB / 403 MB, free: 98.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1165, allocations: 50.58 MB / 453.6 MB, free: 59.17 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.951/6.068, allocations: 2.828 GB / 3.271 GB, free: 122.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/6.068, allocations: 78.14 kB / 3.271 GB, free: 122 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723/7.791, allocations: 0.4913 GB / 3.763 GB, free: 31.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.745e-06/7.791, allocations: 1.5 kB / 3.763 GB, free: 31.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001138/7.791, allocations: 37.47 kB / 3.763 GB, free: 31.14 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.01196/7.803, allocations: 3.099 MB / 3.766 GB, free: 29.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/7.803, allocations: 10.47 kB / 3.766 GB, free: 29.94 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005604/7.803, allocations: 218.8 kB / 3.766 GB, free: 29.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/7.807, allocations: 0.5772 MB / 3.767 GB, free: 29.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/7.811, allocations: 1.492 MB / 3.768 GB, free: 29.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/7.811, allocations: 131.9 kB / 3.768 GB, free: 29.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/7.812, allocations: 147.9 kB / 3.768 GB, free: 29.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/7.817, allocations: 2.739 MB / 3.771 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/7.817, allocations: 5.031 kB / 3.771 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/7.817, allocations: 61.69 kB / 3.771 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/7.817, allocations: 112.5 kB / 3.771 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005687/7.823, allocations: 2.686 MB / 3.774 GB, free: 29.02 MB / 458.7 MB 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.01374/7.837, allocations: 10.93 MB / 3.784 GB, free: 22.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/7.841, allocations: 1.827 MB / 3.786 GB, free: 22.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1217/7.963, allocations: 61.7 MB / 3.846 GB, free: 19.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004219/7.967, allocations: 1.422 MB / 3.848 GB, free: 19.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 4.95e-06/7.967, allocations: 0 / 3.848 GB, free: 19.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=151): time 0.02136/7.988, allocations: 8.358 MB / 3.856 GB, free: 18.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/7.989, allocations: 277 kB / 3.856 GB, free: 18.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/7.99, allocations: 0.892 MB / 3.857 GB, free: 17.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/7.99, allocations: 55.2 kB / 3.857 GB, free: 17.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/7.991, allocations: 0.6694 MB / 3.858 GB, free: 17.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/7.991, allocations: 0.5155 MB / 3.858 GB, free: 17.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/7.991, allocations: 35.09 kB / 3.858 GB, free: 17.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/7.992, allocations: 380 kB / 3.859 GB, free: 16.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/7.993, allocations: 1.009 MB / 3.86 GB, free: 16.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/7.995, allocations: 1.501 MB / 3.861 GB, free: 16.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05584/8.051, allocations: 10.01 MB / 3.871 GB, free: 15.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/8.051, allocations: 3.969 kB / 3.871 GB, free: 15.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007748/8.059, allocations: 3.43 MB / 3.874 GB, free: 15.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002131/8.061, allocations: 5.664 MB / 3.88 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/8.061, allocations: 15.75 kB / 3.88 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/8.072, allocations: 2.602 MB / 3.882 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/8.074, allocations: 275.3 kB / 3.883 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/8.079, allocations: 3.263 MB / 3.886 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/8.081, allocations: 218.3 kB / 3.886 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003411/8.082, allocations: 91.39 kB / 3.886 GB, free: 8.777 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/8.082, allocations: 3.406 kB / 3.886 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006256/8.088, allocations: 3.248 MB / 3.889 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.858e-05/8.088, allocations: 12 kB / 3.889 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007632/8.096, allocations: 2.011 MB / 3.891 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/8.097, allocations: 293.8 kB / 3.892 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/8.102, allocations: 2.988 MB / 3.895 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/8.104, allocations: 207.1 kB / 3.895 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003886/8.104, allocations: 92.25 kB / 3.895 GB, free: 20.79 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) 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 (source.medium.phase,$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,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked 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.001811/8.106, allocations: 0.605 MB / 3.895 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/8.107, allocations: 136.2 kB / 3.896 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008089/8.115, allocations: 5.835 MB / 3.901 GB, free: 17.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.325e-05/8.115, allocations: 49.86 kB / 3.901 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/8.115, allocations: 4 kB / 3.901 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005836/8.121, allocations: 4.728 MB / 3.906 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/8.135, allocations: 8.171 MB / 3.914 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/8.135, allocations: 0 / 3.914 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/8.136, allocations: 260.8 kB / 3.914 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004711/8.141, allocations: 1.288 MB / 3.915 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/8.141, allocations: 59.02 kB / 3.915 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002655/8.144, allocations: 2.189 MB / 3.918 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/8.144, allocations: 4 kB / 3.918 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3345/8.478, allocations: 5.928 MB / 3.923 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/8.48, allocations: 0.6141 MB / 3.924 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003481/8.48, allocations: 43.59 kB / 3.924 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/8.482, allocations: 170.3 kB / 3.924 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/8.482, allocations: 156 kB / 3.924 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/8.482, allocations: 55.17 kB / 3.924 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001305/8.484, allocations: 0.9603 MB / 3.925 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/8.484, allocations: 0 / 3.925 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00875/8.492, allocations: 2.132 MB / 3.927 GB, free: 75.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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: 31 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.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,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.01868/8.511, allocations: 8.837 MB / 3.936 GB, free: 73.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008175/8.519, allocations: 4.354 MB / 3.94 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/8.519, allocations: 6.141 kB / 3.94 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002949/8.522, allocations: 1.936 MB / 3.942 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/8.526, allocations: 0.6655 MB / 3.943 GB, free: 73.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1168/8.643, allocations: 72.32 MB / 4.013 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/8.644, allocations: 1.745 MB / 4.015 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002701/8.647, allocations: 1.293 MB / 4.016 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009365/8.648, allocations: 0.8313 MB / 4.017 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of SimCode: time 2.314e-06/8.648, allocations: 0 / 4.017 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.399/9.047, allocations: 92.54 MB / 4.108 GB, free: 70.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/9.047, allocations: 320.9 kB / 4.108 GB, free: 70.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.192/14.24, allocations: 9.562 kB / 4.108 GB, free: 70.28 MB / 0.4948 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)