Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.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.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization") translateModel(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001365/0.001365, allocations: 156.7 kB / 7.632 MB, free: 1.445 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.324/1.324, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001729/0.001729, allocations: 105 kB / 218 MB, free: 15.33 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.1932/0.1932, allocations: 37.96 MB / 295.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.639e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2754, allocations: 48.68 MB / 398.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.862/7.138, allocations: 2.553 GB / 2.942 GB, free: 96.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/7.138, allocations: 85.98 kB / 2.942 GB, free: 96.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345/9.483, allocations: 478.5 MB / 3.409 GB, free: 42.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/9.483, allocations: 0 / 3.409 GB, free: 42.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001687/9.483, allocations: 34.67 kB / 3.409 GB, free: 42.65 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01448/9.498, allocations: 2.824 MB / 3.412 GB, free: 41.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.676e-05/9.498, allocations: 10.44 kB / 3.412 GB, free: 41.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005162/9.503, allocations: 0.5636 MB / 3.413 GB, free: 41.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005503/9.509, allocations: 1.484 MB / 3.414 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/9.509, allocations: 73.05 kB / 3.414 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004348/9.509, allocations: 83.55 kB / 3.414 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004704/9.514, allocations: 1.998 MB / 3.416 GB, free: 41.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/9.518, allocations: 2.039 MB / 3.418 GB, free: 40.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.995e-05/9.518, allocations: 6.25 kB / 3.418 GB, free: 40.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/9.519, allocations: 11.77 kB / 3.418 GB, free: 40.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/9.519, allocations: 109.5 kB / 3.418 GB, free: 40.77 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.3011/9.82, allocations: 133.3 MB / 3.549 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/9.823, allocations: 1.182 MB / 3.55 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/9.825, allocations: 0.7513 MB / 3.55 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03779/9.862, allocations: 16.7 MB / 3.567 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00275/9.865, allocations: 0.8596 MB / 3.568 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=112): time 6.612e-06/9.865, allocations: 0 / 3.568 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=136): time 0.01923/9.884, allocations: 5.996 MB / 3.573 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/9.885, allocations: 204.6 kB / 3.574 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/9.887, allocations: 0.8144 MB / 3.574 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/9.887, allocations: 25.7 kB / 3.574 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009167/9.888, allocations: 0.7267 MB / 3.575 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005458/9.888, allocations: 460.9 kB / 3.576 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/9.889, allocations: 0 / 3.576 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003855/9.889, allocations: 434.6 kB / 3.576 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/9.89, allocations: 0.855 MB / 3.577 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/9.892, allocations: 1.34 MB / 3.578 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01745/9.91, allocations: 4.388 MB / 3.582 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.082e-05/9.91, allocations: 4 kB / 3.582 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01413/9.924, allocations: 3.954 MB / 3.586 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.4188/10.34, allocations: 5.659 MB / 3.592 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-05/10.34, allocations: 13.56 kB / 3.592 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/10.35, allocations: 2.069 MB / 3.594 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/10.35, allocations: 278.2 kB / 3.594 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006877/10.36, allocations: 3.237 MB / 3.597 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/10.36, allocations: 199.2 kB / 3.597 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/10.36, allocations: 89.61 kB / 3.598 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/10.36, allocations: 3.188 kB / 3.598 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01267/10.38, allocations: 3.839 MB / 3.601 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-05/10.38, allocations: 14.19 kB / 3.601 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00764/10.39, allocations: 1.765 MB / 3.603 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/10.39, allocations: 290.9 kB / 3.603 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/10.39, allocations: 2.88 MB / 3.606 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/10.39, allocations: 180.8 kB / 3.606 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/10.39, allocations: 84.47 kB / 3.606 GB, free: 100.4 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 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 ($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,source.medium.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.0008051/10.39, allocations: 171.6 kB / 3.607 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/10.4, allocations: 124.9 kB / 3.607 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007717/10.4, allocations: 4.596 MB / 3.611 GB, free: 99.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.094e-05/10.4, allocations: 42.03 kB / 3.611 GB, free: 99.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/10.4, allocations: 3.688 kB / 3.611 GB, free: 99.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004743/10.41, allocations: 4.274 MB / 3.615 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/10.42, allocations: 6.95 MB / 3.622 GB, free: 98.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/10.42, allocations: 6.688 kB / 3.622 GB, free: 98.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/10.42, allocations: 211.2 kB / 3.622 GB, free: 98.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003733/10.42, allocations: 1.197 MB / 3.624 GB, free: 98.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/10.42, allocations: 27.59 kB / 3.624 GB, free: 98.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/10.43, allocations: 2.383 MB / 3.626 GB, free: 97.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/10.43, allocations: 7.156 kB / 3.626 GB, free: 97.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007374/10.43, allocations: 4.865 MB / 3.631 GB, free: 97.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/10.43, allocations: 444.4 kB / 3.631 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005857/10.44, allocations: 13.97 kB / 3.631 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/10.44, allocations: 135 kB / 3.631 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/10.44, allocations: 145.4 kB / 3.631 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/10.44, allocations: 49.09 kB / 3.631 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001305/10.44, allocations: 0.5921 MB / 3.632 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.8e-07/10.44, allocations: 0 / 3.632 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0106/10.45, allocations: 1.962 MB / 3.634 GB, free: 97.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01176/10.46, allocations: 2.047 MB / 3.636 GB, free: 96.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007121/10.47, allocations: 3.745 MB / 3.64 GB, free: 96.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/10.47, allocations: 3.781 kB / 3.64 GB, free: 96.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/10.47, allocations: 1.599 MB / 3.641 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/10.47, allocations: 0.5079 MB / 3.642 GB, free: 96.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/10.48, allocations: 3.763 MB / 3.645 GB, free: 96.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/10.48, allocations: 1.612 MB / 3.647 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003007/10.48, allocations: 1.548 MB / 3.648 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/10.49, allocations: 99.22 kB / 3.648 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.412e-06/10.49, allocations: 0 / 3.648 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.1039/10.59, allocations: 64.2 MB / 3.711 GB, free: 88.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.pipe 2>&1)