Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.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.DynamicPipeInitialValues,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeInitialValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeInitialValues",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.001976/0.001977, allocations: 180.9 kB / 7.651 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.824/1.824, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.001162/0.001162, allocations: 87.81 kB / 280.5 MB, free: 5.34 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.002511/0.002511, allocations: 0.5649 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.097e-05/2.099e-05, allocations: 4 kB / 388.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 50.56 MB / 439.3 MB, free: 19.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.387/8.789, allocations: 2.828 GB / 3.257 GB, free: 42.86 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/8.789, allocations: 83.12 kB / 3.257 GB, free: 42.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813/10.6, allocations: 0.4891 GB / 3.746 GB, free: 43.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/10.6, allocations: 2.438 kB / 3.746 GB, free: 43.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001103/10.6, allocations: 37.66 kB / 3.746 GB, free: 43.2 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.01267/10.61, allocations: 2.907 MB / 3.749 GB, free: 41.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/10.61, allocations: 10.53 kB / 3.749 GB, free: 41.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005276/10.62, allocations: 0.6721 MB / 3.749 GB, free: 41.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/10.62, allocations: 1.52 MB / 3.751 GB, free: 40.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/10.62, allocations: 88.33 kB / 3.751 GB, free: 40.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006309/10.63, allocations: 97.69 kB / 3.751 GB, free: 40.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004152/10.63, allocations: 2.589 MB / 3.754 GB, free: 40.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004038/10.63, allocations: 2.663 MB / 3.756 GB, free: 38.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/10.63, allocations: 14.2 kB / 3.756 GB, free: 38.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/10.63, allocations: 7.875 kB / 3.756 GB, free: 38.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/10.63, allocations: 155.2 kB / 3.756 GB, free: 38.81 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.6573/11.29, allocations: 135.8 MB / 3.889 GB, free: 35.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/11.29, allocations: 1.483 MB / 3.89 GB, free: 35.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/11.3, allocations: 0.9088 MB / 3.891 GB, free: 35.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.035/11.33, allocations: 16.85 MB / 3.908 GB, free: 24.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002763/11.33, allocations: 1.057 MB / 3.909 GB, free: 24.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=129): time 4.969e-06/11.33, allocations: 2.062 kB / 3.909 GB, free: 24.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=149): time 0.02141/11.36, allocations: 7.076 MB / 3.916 GB, free: 23.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/11.36, allocations: 200.3 kB / 3.916 GB, free: 23.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/11.36, allocations: 0.8979 MB / 3.917 GB, free: 23.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003566/11.36, allocations: 25.7 kB / 3.917 GB, free: 23.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/11.36, allocations: 0.8449 MB / 3.918 GB, free: 22.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007884/11.36, allocations: 0.5017 MB / 3.918 GB, free: 22.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/11.36, allocations: 0 / 3.918 GB, free: 22.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004033/11.36, allocations: 445.5 kB / 3.919 GB, free: 22.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/11.36, allocations: 1.033 MB / 3.92 GB, free: 22.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/11.36, allocations: 1.593 MB / 3.921 GB, free: 21.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/11.38, allocations: 3.55 MB / 3.925 GB, free: 21.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.922e-05/11.38, allocations: 3.406 kB / 3.925 GB, free: 21.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009823/11.39, allocations: 3.377 MB / 3.928 GB, free: 21.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004698/11.39, allocations: 6.54 MB / 3.934 GB, free: 30.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-05/11.39, allocations: 16.52 kB / 3.934 GB, free: 30.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/11.39, allocations: 422.7 kB / 3.935 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/11.4, allocations: 0.5125 MB / 3.935 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/11.4, allocations: 3.347 MB / 3.938 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/11.4, allocations: 234.3 kB / 3.939 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006566/11.4, allocations: 103.1 kB / 3.939 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/11.4, allocations: 3.906 kB / 3.939 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00805/11.41, allocations: 2.959 MB / 3.942 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.05e-05/11.41, allocations: 16.88 kB / 3.942 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/11.41, allocations: 422.8 kB / 3.942 GB, free: 27.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/11.42, allocations: 0.5032 MB / 3.943 GB, free: 27.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/11.42, allocations: 3.356 MB / 3.946 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/11.42, allocations: 209.7 kB / 3.946 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000592/11.42, allocations: 98.59 kB / 3.946 GB, free: 25.02 MB / 0.4948 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 1 initial equations are redundant, so they are removed from the initialization sytem: pipe.mediums[1].p = 10000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,source.medium.phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 239 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001376/11.42, allocations: 176.2 kB / 3.946 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006322/11.43, allocations: 2.386 MB / 3.949 GB, free: 24.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/11.43, allocations: 135.7 kB / 3.949 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008776/11.44, allocations: 5.404 MB / 3.954 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-05/11.44, allocations: 63.2 kB / 3.954 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/11.44, allocations: 0 / 3.954 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0065/11.45, allocations: 4.867 MB / 3.959 GB, free: 23.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/11.46, allocations: 7.986 MB / 3.967 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/11.46, allocations: 3.812 kB / 3.967 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/11.46, allocations: 361.1 kB / 3.967 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/11.46, allocations: 0.5099 MB / 3.967 GB, free: 22.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/11.46, allocations: 35.59 kB / 3.968 GB, free: 22.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/11.46, allocations: 3.55 MB / 3.971 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/11.46, allocations: 0 / 3.971 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00848/11.47, allocations: 5.899 MB / 3.977 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/11.47, allocations: 0.5641 MB / 3.977 GB, free: 18.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/11.48, allocations: 17.3 kB / 3.977 GB, free: 18.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/11.48, allocations: 158.2 kB / 3.977 GB, free: 18.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/11.48, allocations: 155.4 kB / 3.978 GB, free: 18.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/11.48, allocations: 62.91 kB / 3.978 GB, free: 18.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001136/11.48, allocations: 0.6661 MB / 3.978 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.21e-07/11.48, allocations: 0 / 3.978 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009341/11.49, allocations: 2.123 MB / 3.98 GB, free: 16.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 31 ($cse3.phase,$cse3.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$whenCondition1,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,m_flow_initial) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01935/11.51, allocations: 8.572 MB / 3.989 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008634/11.52, allocations: 4.487 MB / 3.993 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/11.52, allocations: 2.562 kB / 3.993 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003214/11.52, allocations: 1.91 MB / 3.995 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/11.52, allocations: 0.5518 MB / 3.996 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4641/11.99, allocations: 59.46 MB / 4.054 GB, free: 86.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/11.99, allocations: 1.853 MB / 4.055 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004701/11.99, allocations: 2.514 MB / 4.058 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/11.99, allocations: 0.9052 MB / 4.059 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of SimCode: time 2.094e-06/11.99, allocations: 4 kB / 4.059 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/12.12, allocations: 80.79 MB / 4.138 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/12.12, allocations: 227.7 kB / 4.138 GB, free: 57.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.77/16.89, allocations: 6.688 kB / 4.138 GB, free: 57.25 MB / 0.4948 GB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeInitialValues_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeInitialValues.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe 2>&1)