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.002146/0.002145, allocations: 175 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.695/1.695, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.001372/0.001372, allocations: 102.5 kB / 285.6 MB, free: 12.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.00293/0.00293, allocations: 0.5505 MB / 337.1 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.31e-05, allocations: 0 / 395.6 MB, free: 70.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1409, allocations: 50.57 MB / 446.1 MB, free: 19.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.73/8.871, allocations: 2.828 GB / 3.264 GB, free: 48.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/8.871, allocations: 80.34 kB / 3.264 GB, free: 48.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.232/11.1, allocations: 0.4902 GB / 3.754 GB, free: 39.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.284e-06/11.1, allocations: 2.906 kB / 3.754 GB, free: 39.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002232/11.1, allocations: 37.59 kB / 3.754 GB, free: 39.6 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.0159/11.12, allocations: 2.893 MB / 3.757 GB, free: 38.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/11.12, allocations: 11.94 kB / 3.757 GB, free: 38.52 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001291/11.12, allocations: 210.5 kB / 3.757 GB, free: 38.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007669/11.13, allocations: 0.5826 MB / 3.758 GB, free: 38.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006319/11.13, allocations: 1.478 MB / 3.759 GB, free: 38.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/11.13, allocations: 137.1 kB / 3.76 GB, free: 38.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009662/11.14, allocations: 139.3 kB / 3.76 GB, free: 38.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/11.15, allocations: 2.692 MB / 3.762 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/11.15, allocations: 7.156 kB / 3.762 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007065/11.15, allocations: 62.97 kB / 3.762 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001832/11.15, allocations: 110.5 kB / 3.762 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009188/11.16, allocations: 2.518 MB / 3.765 GB, free: 37.6 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.01913/11.18, allocations: 10.93 MB / 3.776 GB, free: 29.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00574/11.18, allocations: 1.752 MB / 3.777 GB, free: 29.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/11.18, allocations: 0.847 MB / 3.778 GB, free: 28.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2033/11.39, allocations: 62.02 MB / 3.839 GB, free: 16.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005169/11.39, allocations: 1.394 MB / 3.84 GB, free: 15.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 6.452e-06/11.39, allocations: 0 / 3.84 GB, free: 15.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=151): time 0.02311/11.42, allocations: 6.982 MB / 3.847 GB, free: 9.602 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/11.42, allocations: 288.9 kB / 3.847 GB, free: 9.266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/11.42, allocations: 0.8844 MB / 3.848 GB, free: 8.449 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002486/11.42, allocations: 53.7 kB / 3.848 GB, free: 8.391 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008662/11.42, allocations: 0.669 MB / 3.849 GB, free: 7.781 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007138/11.42, allocations: 0.5119 MB / 3.849 GB, free: 7.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/11.42, allocations: 36 kB / 3.849 GB, free: 7.285 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/11.42, allocations: 376.8 kB / 3.85 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/11.42, allocations: 0.884 MB / 3.851 GB, free: 6.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/11.43, allocations: 1.382 MB / 3.852 GB, free: 4.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.41/11.84, allocations: 10.32 MB / 3.862 GB, free: 69.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/11.84, allocations: 7.125 kB / 3.862 GB, free: 69.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005837/11.84, allocations: 3.104 MB / 3.865 GB, free: 69.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001228/11.84, allocations: 5.657 MB / 3.871 GB, free: 63.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/11.84, allocations: 17.09 kB / 3.871 GB, free: 63.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009971/11.85, allocations: 2.419 MB / 3.873 GB, free: 63.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/11.85, allocations: 276.7 kB / 3.873 GB, free: 63.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/11.86, allocations: 3.011 MB / 3.876 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/11.86, allocations: 218 kB / 3.876 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/11.86, allocations: 89.22 kB / 3.876 GB, free: 62.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/11.86, allocations: 11.36 kB / 3.876 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004313/11.86, allocations: 2.919 MB / 3.879 GB, free: 62.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/11.86, allocations: 14.31 kB / 3.879 GB, free: 62.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006701/11.87, allocations: 1.837 MB / 3.881 GB, free: 62.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/11.87, allocations: 298.8 kB / 3.881 GB, free: 62.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/11.88, allocations: 2.759 MB / 3.884 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/11.88, allocations: 212.3 kB / 3.884 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/11.88, allocations: 90.67 kB / 3.884 GB, free: 62.27 MB / 490.7 MB 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 (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 () * 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.0006849/11.88, allocations: 232.9 kB / 3.885 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/11.88, allocations: 137.8 kB / 3.885 GB, free: 62.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008307/11.89, allocations: 5.732 MB / 3.89 GB, free: 61.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.526e-05/11.89, allocations: 53.38 kB / 3.89 GB, free: 61.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/11.89, allocations: 7.359 kB / 3.89 GB, free: 61.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005308/11.89, allocations: 4.649 MB / 3.895 GB, free: 61.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/11.9, allocations: 7.982 MB / 3.903 GB, free: 60.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/11.9, allocations: 3.062 kB / 3.903 GB, free: 60.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/11.9, allocations: 257.3 kB / 3.903 GB, free: 60.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003855/11.91, allocations: 1.225 MB / 3.904 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/11.91, allocations: 57.28 kB / 3.904 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/11.91, allocations: 2.179 MB / 3.906 GB, free: 59.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/11.91, allocations: 9.047 kB / 3.906 GB, free: 59.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006836/11.92, allocations: 5.413 MB / 3.912 GB, free: 59.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/11.92, allocations: 0.6167 MB / 3.912 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/11.92, allocations: 44.7 kB / 3.912 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/11.92, allocations: 174.5 kB / 3.912 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/11.92, allocations: 149.7 kB / 3.913 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/11.92, allocations: 54.03 kB / 3.913 GB, free: 58.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001618/11.92, allocations: 0.9524 MB / 3.914 GB, free: 58.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/11.92, allocations: 2.719 kB / 3.914 GB, free: 58.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009657/11.93, allocations: 2.13 MB / 3.916 GB, free: 58.77 MB / 490.7 MB 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 () * 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.01752/11.95, allocations: 8.463 MB / 3.924 GB, free: 56.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008272/11.96, allocations: 4.009 MB / 3.928 GB, free: 56.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/11.96, allocations: 3.375 kB / 3.928 GB, free: 56.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003158/11.96, allocations: 1.815 MB / 3.93 GB, free: 56.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/11.97, allocations: 0.6752 MB / 3.93 GB, free: 56.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/12.09, allocations: 59.71 MB / 3.989 GB, free: 46.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/12.09, allocations: 1.754 MB / 3.99 GB, free: 45.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003154/12.09, allocations: 1.405 MB / 3.992 GB, free: 44.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/12.09, allocations: 0.8226 MB / 3.992 GB, free: 43.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.342e-06/12.09, allocations: 0 / 3.992 GB, free: 43.56 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4456/12.54, allocations: 97.16 MB / 4.087 GB, free: 60.46 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/12.54, allocations: 287.5 kB / 4.088 GB, free: 60.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.104/17.64, allocations: 0 / 4.088 GB, free: 60.13 MB / 490.7 MB (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)