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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01033/0.01034, allocations: 170.8 kB / 15.11 MB, free: 5.969 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.578/1.578, allocations: 223.2 MB / 239 MB, free: 40 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 93.02 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.00375/0.00375, allocations: 0.5573 MB / 341.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 8 kB / 402.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3738, allocations: 50.56 MB / 453.5 MB, free: 80.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.431/6.805, allocations: 2.828 GB / 3.271 GB, free: 137.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/6.805, allocations: 82.75 kB / 3.271 GB, free: 137.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.722/8.527, allocations: 0.495 GB / 3.766 GB, free: 8.461 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.164e-06/8.527, allocations: 0 / 3.766 GB, free: 8.461 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001089/8.527, allocations: 43.91 kB / 3.766 GB, free: 8.422 MB / 474.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.01299/8.54, allocations: 3.111 MB / 3.77 GB, free: 5.266 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/8.54, allocations: 8.031 kB / 3.77 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005345/8.546, allocations: 0.6645 MB / 3.77 GB, free: 4.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/8.551, allocations: 1.542 MB / 3.772 GB, free: 3.023 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/8.551, allocations: 155.1 kB / 3.772 GB, free: 2.871 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004023/8.551, allocations: 158.7 kB / 3.772 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4655/9.017, allocations: 3.352 MB / 3.775 GB, free: 49.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.117e-05/9.017, allocations: 7.594 kB / 3.775 GB, free: 49.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003437/9.017, allocations: 74.34 kB / 3.775 GB, free: 49.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002907/9.018, allocations: 154 kB / 3.775 GB, free: 49.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007812/9.025, allocations: 3.284 MB / 3.779 GB, free: 49.08 MB / 474.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.01726/9.043, allocations: 13.35 MB / 3.792 GB, free: 41.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004632/9.047, allocations: 2.185 MB / 3.794 GB, free: 41.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.129/9.176, allocations: 61.72 MB / 3.854 GB, free: 23.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004921/9.181, allocations: 1.636 MB / 3.856 GB, free: 23.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 7.724e-06/9.181, allocations: 0.75 kB / 3.856 GB, free: 23.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.03032/9.212, allocations: 10.39 MB / 3.866 GB, free: 21.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000242/9.212, allocations: 334.2 kB / 3.866 GB, free: 21.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/9.214, allocations: 1.107 MB / 3.867 GB, free: 21.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003915/9.215, allocations: 56.98 kB / 3.867 GB, free: 21.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008797/9.216, allocations: 0.7908 MB / 3.868 GB, free: 20.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007771/9.216, allocations: 0.5623 MB / 3.869 GB, free: 20.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/9.217, allocations: 41.56 kB / 3.869 GB, free: 20.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003132/9.217, allocations: 390.5 kB / 3.869 GB, free: 20.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/9.219, allocations: 1.188 MB / 3.87 GB, free: 20.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/9.222, allocations: 1.742 MB / 3.872 GB, free: 19.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05016/9.272, allocations: 9.34 MB / 3.881 GB, free: 19.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.966e-05/9.272, allocations: 5.438 kB / 3.881 GB, free: 19.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009184/9.281, allocations: 3.458 MB / 3.884 GB, free: 18.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003571/9.285, allocations: 6.533 MB / 3.891 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-05/9.285, allocations: 18 kB / 3.891 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/9.287, allocations: 465.8 kB / 3.891 GB, free: 28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/9.289, allocations: 0.5093 MB / 3.892 GB, free: 28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/9.292, allocations: 3.317 MB / 3.895 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/9.295, allocations: 255.5 kB / 3.895 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008355/9.296, allocations: 100.1 kB / 3.895 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/9.296, allocations: 3.219 kB / 3.895 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008026/9.304, allocations: 3.192 MB / 3.898 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.447e-05/9.304, allocations: 19.52 kB / 3.898 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/9.306, allocations: 462.7 kB / 3.899 GB, free: 25.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/9.308, allocations: 0.5071 MB / 3.899 GB, free: 25.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/9.311, allocations: 3.309 MB / 3.903 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/9.313, allocations: 253.2 kB / 3.903 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004691/9.314, allocations: 98.06 kB / 3.903 GB, free: 22.59 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 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 () * Number of clocked 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.002216/9.316, allocations: 0.6867 MB / 3.904 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007189/9.317, allocations: 154.8 kB / 3.904 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/9.328, allocations: 6.653 MB / 3.91 GB, free: 21.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-05/9.328, allocations: 71.75 kB / 3.91 GB, free: 21.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.327e-05/9.328, allocations: 3.969 kB / 3.91 GB, free: 21.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007282/9.335, allocations: 5.222 MB / 3.915 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/9.352, allocations: 9.109 MB / 3.924 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.546e-05/9.352, allocations: 3.844 kB / 3.924 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/9.354, allocations: 400.7 kB / 3.925 GB, free: 20.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/9.356, allocations: 0.5653 MB / 3.925 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/9.356, allocations: 59.77 kB / 3.925 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/9.359, allocations: 3.398 MB / 3.929 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/9.359, allocations: 11.42 kB / 3.929 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/9.369, allocations: 6.806 MB / 3.935 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/9.372, allocations: 0.7641 MB / 3.936 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007321/9.373, allocations: 58.19 kB / 3.936 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002273/9.375, allocations: 205.7 kB / 3.936 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004121/9.375, allocations: 169.9 kB / 3.936 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/9.376, allocations: 62.19 kB / 3.937 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002546/9.378, allocations: 1.195 MB / 3.938 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/9.378, allocations: 0 / 3.938 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01336/9.391, allocations: 2.298 MB / 3.94 GB, free: 9.02 MB / 0.4948 GB 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 () * Number of clocked 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.01279/9.404, allocations: 2.004 MB / 3.942 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01288/9.417, allocations: 5.012 MB / 3.947 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/9.417, allocations: 2.594 kB / 3.947 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004729/9.422, allocations: 2.252 MB / 3.949 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/9.427, allocations: 0.7314 MB / 3.95 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5135/9.94, allocations: 92.51 MB / 4.04 GB, free: 72.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/9.942, allocations: 2.006 MB / 4.042 GB, free: 71.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004983/9.947, allocations: 2.262 MB / 4.044 GB, free: 71.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/9.948, allocations: 157.2 kB / 4.044 GB, free: 71.81 MB / 0.4948 GB Notification: Performance of SimCode: time 1.673e-06/9.948, allocations: 2.625 kB / 4.044 GB, free: 71.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.1191/10.07, allocations: 68.77 MB / 4.112 GB, free: 33.38 MB / 0.4948 GB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe 2>&1)