Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues") translateModel(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00107/0.00107, allocations: 165.9 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.309/1.309, allocations: 170.7 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001668/0.001668, allocations: 107.4 kB / 218 MB, free: 8.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1785/0.1785, allocations: 37.98 MB / 295.1 MB, free: 9.508 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.596e-05, allocations: 1.531 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09241, allocations: 48.73 MB / 398.7 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.873/6.966, allocations: 2.553 GB / 2.942 GB, free: 62.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/6.966, allocations: 73.12 kB / 2.942 GB, free: 62.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.363/9.329, allocations: 482.1 MB / 3.413 GB, free: 46.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/9.33, allocations: 0 / 3.413 GB, free: 46.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002481/9.33, allocations: 44.41 kB / 3.413 GB, free: 46.18 MB / 442.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.02046/9.35, allocations: 2.833 MB / 3.416 GB, free: 45.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.378e-05/9.35, allocations: 9.25 kB / 3.416 GB, free: 45.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007843/9.358, allocations: 0.6561 MB / 3.416 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/9.364, allocations: 1.516 MB / 3.418 GB, free: 44.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/9.364, allocations: 92.61 kB / 3.418 GB, free: 44.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/9.366, allocations: 99.47 kB / 3.418 GB, free: 44.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006445/9.372, allocations: 2.585 MB / 3.42 GB, free: 44.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007826/9.38, allocations: 2.671 MB / 3.423 GB, free: 44.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/9.38, allocations: 6.875 kB / 3.423 GB, free: 44.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007776/9.381, allocations: 5.75 kB / 3.423 GB, free: 44.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002374/9.381, allocations: 161.2 kB / 3.423 GB, free: 44.13 MB / 442.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.7031/10.08, allocations: 135.5 MB / 3.556 GB, free: 34.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/10.09, allocations: 1.48 MB / 3.557 GB, free: 34.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/10.09, allocations: 0.913 MB / 3.558 GB, free: 34.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03569/10.13, allocations: 16.84 MB / 3.574 GB, free: 23.63 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00282/10.13, allocations: 1.049 MB / 3.575 GB, free: 23.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=129): time 8.937e-06/10.13, allocations: 4 kB / 3.575 GB, free: 23.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=149): time 0.02059/10.15, allocations: 7.066 MB / 3.582 GB, free: 22.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/10.15, allocations: 200.3 kB / 3.582 GB, free: 22.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/10.15, allocations: 0.8872 MB / 3.583 GB, free: 22.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000175/10.15, allocations: 30.52 kB / 3.583 GB, free: 22.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008086/10.15, allocations: 0.8474 MB / 3.584 GB, free: 21.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/10.15, allocations: 0.5022 MB / 3.585 GB, free: 21.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/10.15, allocations: 7.5 kB / 3.585 GB, free: 21.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002253/10.15, allocations: 445.2 kB / 3.585 GB, free: 21.26 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/10.15, allocations: 1.031 MB / 3.586 GB, free: 21.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/10.16, allocations: 1.586 MB / 3.588 GB, free: 20.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/10.17, allocations: 4.409 MB / 3.592 GB, free: 20.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/10.17, allocations: 2.656 kB / 3.592 GB, free: 20.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01333/10.19, allocations: 4.115 MB / 3.596 GB, free: 20.13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001676/10.19, allocations: 6.533 MB / 3.602 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.742e-05/10.19, allocations: 15.84 kB / 3.602 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/10.19, allocations: 421 kB / 3.603 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/10.19, allocations: 0.516 MB / 3.603 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/10.2, allocations: 3.347 MB / 3.607 GB, free: 26.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/10.2, allocations: 232.2 kB / 3.607 GB, free: 26.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/10.2, allocations: 98.33 kB / 3.607 GB, free: 26.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/10.2, allocations: 8.219 kB / 3.607 GB, free: 26.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01046/10.21, allocations: 3.699 MB / 3.61 GB, free: 26.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.072e-05/10.21, allocations: 15.16 kB / 3.61 GB, free: 26.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/10.21, allocations: 427 kB / 3.611 GB, free: 26.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/10.21, allocations: 0.5041 MB / 3.611 GB, free: 26.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/10.22, allocations: 3.348 MB / 3.615 GB, free: 23.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/10.22, allocations: 215.1 kB / 3.615 GB, free: 23.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/10.22, allocations: 100.2 kB / 3.615 GB, free: 23.8 MB / 474.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 ($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.001088/10.22, allocations: 187.4 kB / 3.615 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005929/10.22, allocations: 137.4 kB / 3.615 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00867/10.23, allocations: 5.396 MB / 3.621 GB, free: 23.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-05/10.23, allocations: 58.69 kB / 3.621 GB, free: 23.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/10.23, allocations: 7.297 kB / 3.621 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006589/10.24, allocations: 4.857 MB / 3.625 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/10.25, allocations: 7.975 MB / 3.633 GB, free: 21.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/10.25, allocations: 3.141 kB / 3.633 GB, free: 21.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/10.25, allocations: 352.9 kB / 3.633 GB, free: 21.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/10.25, allocations: 0.5139 MB / 3.634 GB, free: 21.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/10.25, allocations: 37.45 kB / 3.634 GB, free: 21.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003049/10.25, allocations: 3.55 MB / 3.637 GB, free: 19.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/10.25, allocations: 0 / 3.637 GB, free: 19.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008966/10.26, allocations: 5.899 MB / 3.643 GB, free: 18.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/10.27, allocations: 0.5567 MB / 3.644 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006959/10.27, allocations: 17.92 kB / 3.644 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/10.27, allocations: 167.5 kB / 3.644 GB, free: 18.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/10.27, allocations: 155.6 kB / 3.644 GB, free: 18.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/10.27, allocations: 55.61 kB / 3.644 GB, free: 18.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001336/10.27, allocations: 0.6705 MB / 3.645 GB, free: 18.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.863e-06/10.27, allocations: 0 / 3.645 GB, free: 18.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01275/10.28, allocations: 2.101 MB / 3.647 GB, free: 18.12 MB / 474.7 MB 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.01581/10.3, allocations: 2.07 MB / 3.649 GB, free: 17.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01075/10.31, allocations: 4.49 MB / 3.653 GB, free: 14.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/10.31, allocations: 2.062 kB / 3.653 GB, free: 14.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003345/10.31, allocations: 1.909 MB / 3.655 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/10.32, allocations: 0.5359 MB / 3.656 GB, free: 12.83 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4872/10.8, allocations: 58.64 MB / 3.713 GB, free: 71.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/10.81, allocations: 1.849 MB / 3.715 GB, free: 70.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004838/10.81, allocations: 2.516 MB / 3.717 GB, free: 70.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005259/10.81, allocations: 137.8 kB / 3.717 GB, free: 70.13 MB / 474.7 MB Notification: Performance of SimCode: time 2.435e-06/10.81, allocations: 0 / 3.717 GB, free: 70.13 MB / 474.7 MB Notification: Performance of Templates: time 0.09606/10.91, allocations: 59.5 MB / 3.775 GB, free: 65.8 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.pipe 2>&1)