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.001627/0.001627, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.438/1.438, allocations: 170.6 MB / 183.8 MB, free: 11.41 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.001775/0.001775, allocations: 107.5 kB / 223.2 MB, free: 4.039 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.2187/0.2187, allocations: 38 MB / 300.4 MB, free: 5.332 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.018e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.643/6.779, allocations: 2.553 GB / 2.949 GB, free: 89.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/6.779, allocations: 76.73 kB / 2.949 GB, free: 89.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.731/8.51, allocations: 486.9 MB / 3.425 GB, free: 53.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.473e-06/8.51, allocations: 0 / 3.425 GB, free: 53.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001318/8.51, allocations: 43.69 kB / 3.425 GB, free: 53.43 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.01036/8.52, allocations: 2.83 MB / 3.428 GB, free: 52.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/8.52, allocations: 9.531 kB / 3.428 GB, free: 52.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/8.525, allocations: 0.6545 MB / 3.428 GB, free: 52.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003623/8.529, allocations: 1.517 MB / 3.43 GB, free: 51.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/8.529, allocations: 161.7 kB / 3.43 GB, free: 51.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/8.529, allocations: 165.2 kB / 3.43 GB, free: 51.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/8.535, allocations: 3.297 MB / 3.433 GB, free: 51.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/8.535, allocations: 10.86 kB / 3.433 GB, free: 51.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/8.535, allocations: 72.84 kB / 3.433 GB, free: 51.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/8.535, allocations: 161.4 kB / 3.434 GB, free: 51.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005064/8.54, allocations: 3.101 MB / 3.437 GB, free: 51.3 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.015/8.555, allocations: 13.36 MB / 3.45 GB, free: 43.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0037/8.559, allocations: 2.063 MB / 3.452 GB, free: 43.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/8.56, allocations: 0.993 MB / 3.453 GB, free: 43.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.12/8.68, allocations: 61.95 MB / 3.513 GB, free: 25.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003782/8.684, allocations: 1.6 MB / 3.515 GB, free: 24.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=143): time 3.466e-06/8.684, allocations: 3.469 kB / 3.515 GB, free: 24.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.02057/8.705, allocations: 9.179 MB / 3.524 GB, free: 22.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/8.705, allocations: 337.2 kB / 3.524 GB, free: 22.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/8.706, allocations: 1.092 MB / 3.525 GB, free: 22.37 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/8.706, allocations: 55.64 kB / 3.525 GB, free: 22.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/8.707, allocations: 0.8014 MB / 3.526 GB, free: 21.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/8.707, allocations: 0.5621 MB / 3.526 GB, free: 21.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/8.707, allocations: 45.06 kB / 3.527 GB, free: 21.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/8.707, allocations: 385.4 kB / 3.527 GB, free: 21.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/8.709, allocations: 1.054 MB / 3.528 GB, free: 21.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/8.71, allocations: 1.612 MB / 3.53 GB, free: 20.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.891/13.6, allocations: 0.7385 GB / 4.268 GB, free: 82.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-05/13.6, allocations: 3.625 kB / 4.268 GB, free: 82.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007167/13.61, allocations: 3.193 MB / 4.271 GB, free: 82.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00122/13.61, allocations: 6.531 MB / 4.277 GB, free: 75.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-05/13.61, allocations: 21.09 kB / 4.277 GB, free: 75.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/13.61, allocations: 446.5 kB / 4.278 GB, free: 75.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/13.61, allocations: 0.5109 MB / 4.278 GB, free: 75.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/13.62, allocations: 3.304 MB / 4.282 GB, free: 73.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/13.62, allocations: 256.5 kB / 4.282 GB, free: 73.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/13.62, allocations: 104 kB / 4.282 GB, free: 73.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/13.62, allocations: 3.844 kB / 4.282 GB, free: 73.31 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005255/13.62, allocations: 2.927 MB / 4.285 GB, free: 73.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-05/13.62, allocations: 15.94 kB / 4.285 GB, free: 73.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/13.62, allocations: 441.9 kB / 4.285 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/13.63, allocations: 0.5064 MB / 4.286 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/13.63, allocations: 3.309 MB / 4.289 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/13.63, allocations: 254.7 kB / 4.289 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/13.63, allocations: 97.73 kB / 4.289 GB, free: 70.59 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.0008717/13.63, allocations: 245.3 kB / 4.29 GB, free: 70.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005135/13.63, allocations: 160.7 kB / 4.29 GB, free: 70.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008659/13.64, allocations: 6.528 MB / 4.296 GB, free: 70.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/13.64, allocations: 75.89 kB / 4.296 GB, free: 70.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/13.64, allocations: 5.078 kB / 4.296 GB, free: 70.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005088/13.65, allocations: 5.126 MB / 4.301 GB, free: 69.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/13.66, allocations: 8.996 MB / 4.31 GB, free: 68.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/13.66, allocations: 0 / 4.31 GB, free: 68.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/13.66, allocations: 406.2 kB / 4.31 GB, free: 68.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/13.66, allocations: 0.5289 MB / 4.311 GB, free: 68.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002747/13.66, allocations: 64.88 kB / 4.311 GB, free: 68.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/13.66, allocations: 3.404 MB / 4.314 GB, free: 66.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/13.66, allocations: 3.219 kB / 4.314 GB, free: 66.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008255/13.67, allocations: 6.426 MB / 4.321 GB, free: 65.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/13.67, allocations: 0.7684 MB / 4.321 GB, free: 65.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006602/13.68, allocations: 51.27 kB / 4.321 GB, free: 65.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/13.68, allocations: 191.1 kB / 4.322 GB, free: 65.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/13.68, allocations: 174.1 kB / 4.322 GB, free: 65.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/13.68, allocations: 66.48 kB / 4.322 GB, free: 65.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002065/13.68, allocations: 1.169 MB / 4.323 GB, free: 65.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.7e-07/13.68, allocations: 0 / 4.323 GB, free: 65.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.011/13.69, allocations: 2.279 MB / 4.325 GB, free: 65.03 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.01103/13.7, allocations: 2.002 MB / 4.327 GB, free: 64.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009641/13.71, allocations: 4.751 MB / 4.332 GB, free: 64.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/13.71, allocations: 0 / 4.332 GB, free: 64.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00357/13.72, allocations: 2.162 MB / 4.334 GB, free: 64.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/13.72, allocations: 0.7253 MB / 4.335 GB, free: 64.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4282/14.15, allocations: 89.65 MB / 4.422 GB, free: 79.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/14.15, allocations: 2.008 MB / 4.424 GB, free: 78.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005032/14.15, allocations: 2.406 MB / 4.426 GB, free: 78.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/14.15, allocations: 147.2 kB / 4.427 GB, free: 78.29 MB / 490.7 MB Notification: Performance of SimCode: time 2.043e-06/14.15, allocations: 0 / 4.427 GB, free: 78.29 MB / 490.7 MB Notification: Performance of Templates: time 0.09337/14.25, allocations: 71.17 MB / 4.496 GB, free: 75.22 MB / 490.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)