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.001358/0.001359, 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.647/1.647, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0009261/0.000926, allocations: 88.92 kB / 285.6 MB, free: 13 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.002732/0.002732, allocations: 0.5519 MB / 337 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.93e-05, allocations: 4 kB / 395.6 MB, free: 70.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 50.58 MB / 446.1 MB, free: 19.89 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.212/8.347, allocations: 2.828 GB / 3.264 GB, free: 49.59 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/8.348, allocations: 76.66 kB / 3.264 GB, free: 49.56 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.796/10.14, allocations: 0.4939 GB / 3.758 GB, free: 39.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.303e-06/10.14, allocations: 0 / 3.758 GB, free: 39.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001014/10.14, allocations: 40.66 kB / 3.758 GB, free: 39.82 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.0103/10.15, allocations: 2.901 MB / 3.761 GB, free: 38.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/10.15, allocations: 10.25 kB / 3.761 GB, free: 38.66 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001191/10.16, allocations: 266.9 kB / 3.761 GB, free: 38.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/10.16, allocations: 0.6675 MB / 3.762 GB, free: 38.51 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/10.17, allocations: 1.525 MB / 3.763 GB, free: 38.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/10.17, allocations: 159.1 kB / 3.764 GB, free: 38.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/10.17, allocations: 162.2 kB / 3.764 GB, free: 38.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00567/10.17, allocations: 3.301 MB / 3.767 GB, free: 37.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/10.17, allocations: 14.22 kB / 3.767 GB, free: 37.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/10.17, allocations: 69.33 kB / 3.767 GB, free: 37.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/10.17, allocations: 162.7 kB / 3.767 GB, free: 37.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005505/10.18, allocations: 3.098 MB / 3.77 GB, free: 37 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.0167/10.19, allocations: 13.37 MB / 3.783 GB, free: 27.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004124/10.2, allocations: 2.053 MB / 3.785 GB, free: 26.65 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/10.2, allocations: 0.9995 MB / 3.786 GB, free: 26.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1233/10.32, allocations: 62.03 MB / 3.847 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004003/10.33, allocations: 1.601 MB / 3.848 GB, free: 9.258 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 4.328e-06/10.33, allocations: 0 / 3.848 GB, free: 9.258 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.02355/10.35, allocations: 9.176 MB / 3.857 GB, free: 1.379 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/10.35, allocations: 333.6 kB / 3.858 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2839/10.63, allocations: 1.088 MB / 3.859 GB, free: 71.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006795/10.64, allocations: 56.3 kB / 3.859 GB, free: 71.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/10.64, allocations: 0.7953 MB / 3.86 GB, free: 71.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000681/10.64, allocations: 0.5662 MB / 3.86 GB, free: 71.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/10.64, allocations: 40.69 kB / 3.86 GB, free: 71.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/10.64, allocations: 388.6 kB / 3.86 GB, free: 71.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/10.64, allocations: 1.057 MB / 3.861 GB, free: 71.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/10.64, allocations: 1.624 MB / 3.863 GB, free: 70.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04686/10.69, allocations: 9.047 MB / 3.872 GB, free: 70.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/10.69, allocations: 5.25 kB / 3.872 GB, free: 70.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007497/10.7, allocations: 3.199 MB / 3.875 GB, free: 70.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00136/10.7, allocations: 6.537 MB / 3.881 GB, free: 63.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/10.7, allocations: 18.14 kB / 3.881 GB, free: 63.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/10.7, allocations: 445.3 kB / 3.882 GB, free: 63.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/10.7, allocations: 0.5123 MB / 3.882 GB, free: 63.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/10.7, allocations: 3.304 MB / 3.886 GB, free: 60.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/10.71, allocations: 254 kB / 3.886 GB, free: 60.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003331/10.71, allocations: 109.7 kB / 3.886 GB, free: 60.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/10.71, allocations: 4 kB / 3.886 GB, free: 60.73 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005778/10.71, allocations: 2.927 MB / 3.889 GB, free: 60.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.205e-05/10.71, allocations: 17.03 kB / 3.889 GB, free: 60.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/10.72, allocations: 444.6 kB / 3.889 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/10.72, allocations: 0.504 MB / 3.89 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/10.72, allocations: 3.311 MB / 3.893 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/10.72, allocations: 243.5 kB / 3.893 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/10.72, allocations: 99.11 kB / 3.893 GB, free: 58 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 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 (source.medium.phase,$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,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.0008061/10.72, allocations: 240.4 kB / 3.894 GB, free: 57.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/10.72, allocations: 163.4 kB / 3.894 GB, free: 57.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007253/10.73, allocations: 6.537 MB / 3.9 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.548e-05/10.73, allocations: 67.97 kB / 3.9 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/10.73, allocations: 7.156 kB / 3.9 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004918/10.74, allocations: 5.133 MB / 3.905 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/10.75, allocations: 8.991 MB / 3.914 GB, free: 55.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/10.75, allocations: 3.969 kB / 3.914 GB, free: 55.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/10.75, allocations: 404.1 kB / 3.914 GB, free: 55.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/10.75, allocations: 0.5355 MB / 3.915 GB, free: 55.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/10.75, allocations: 57.25 kB / 3.915 GB, free: 55.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/10.75, allocations: 3.398 MB / 3.918 GB, free: 53.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/10.75, allocations: 3.625 kB / 3.918 GB, free: 53.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007948/10.76, allocations: 6.434 MB / 3.925 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/10.76, allocations: 0.7698 MB / 3.925 GB, free: 52.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003954/10.76, allocations: 50.98 kB / 3.925 GB, free: 52.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/10.76, allocations: 194.2 kB / 3.925 GB, free: 52.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/10.76, allocations: 174.9 kB / 3.926 GB, free: 52.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/10.76, allocations: 68.14 kB / 3.926 GB, free: 52.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001792/10.77, allocations: 1.164 MB / 3.927 GB, free: 52.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/10.77, allocations: 0 / 3.927 GB, free: 52.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01162/10.78, allocations: 2.299 MB / 3.929 GB, free: 52.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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: 36 ($cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.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,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.01879/10.8, allocations: 9.361 MB / 3.938 GB, free: 50.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008838/10.81, allocations: 4.756 MB / 3.943 GB, free: 49.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/10.81, allocations: 0 / 3.943 GB, free: 49.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003325/10.81, allocations: 2.161 MB / 3.945 GB, free: 48.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004487/10.81, allocations: 0.7331 MB / 3.946 GB, free: 48.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4575/11.27, allocations: 90.97 MB / 4.035 GB, free: 67.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/11.27, allocations: 2.01 MB / 4.037 GB, free: 66.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004679/11.28, allocations: 2.413 MB / 4.039 GB, free: 66.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/11.28, allocations: 1.045 MB / 4.04 GB, free: 66.62 MB / 490.7 MB Notification: Performance of SimCode: time 2.003e-06/11.28, allocations: 2.438 kB / 4.04 GB, free: 66.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/11.44, allocations: 97.88 MB / 4.135 GB, free: 57.64 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/11.44, allocations: 268.1 kB / 4.136 GB, free: 57.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.31/16.75, allocations: 0 / 4.136 GB, free: 57.3 MB / 490.7 MB (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)