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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005348/0.005348, allocations: 171.7 kB / 7.445 MB, free: 2.508 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.387/1.387, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001697/0.001697, allocations: 115.8 kB / 217.7 MB, free: 8.172 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.1746/0.1746, allocations: 37.97 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.296e-06, allocations: 1.438 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 48.71 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.925/7.026, allocations: 2.553 GB / 2.941 GB, free: 111.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004666/7.026, allocations: 77.52 kB / 2.941 GB, free: 111.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.456/9.482, allocations: 483.3 MB / 3.413 GB, free: 37.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003389/9.483, allocations: 43.19 kB / 3.413 GB, free: 37.13 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.01893/9.502, allocations: 2.836 MB / 3.416 GB, free: 35.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/9.502, allocations: 11.19 kB / 3.416 GB, free: 35.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006799/9.508, allocations: 0.6797 MB / 3.417 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006577/9.515, allocations: 1.522 MB / 3.418 GB, free: 35.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/9.515, allocations: 97.2 kB / 3.419 GB, free: 35.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/9.517, allocations: 95.78 kB / 3.419 GB, free: 35.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006949/9.524, allocations: 2.676 MB / 3.421 GB, free: 35.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008314/9.532, allocations: 2.724 MB / 3.424 GB, free: 35.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/9.532, allocations: 17.81 kB / 3.424 GB, free: 35.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007541/9.533, allocations: 9.094 kB / 3.424 GB, free: 35.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/9.533, allocations: 165 kB / 3.424 GB, free: 35.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7061/10.24, allocations: 136.2 MB / 3.557 GB, free: 113.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/10.24, allocations: 1.072 MB / 3.558 GB, free: 113.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/10.24, allocations: 0.942 MB / 3.559 GB, free: 113.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0349/10.28, allocations: 16.86 MB / 3.575 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003087/10.28, allocations: 1.088 MB / 3.577 GB, free: 102.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=129): time 5.671e-06/10.28, allocations: 0 / 3.577 GB, free: 102.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=149): time 0.02168/10.3, allocations: 7.332 MB / 3.584 GB, free: 102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/10.3, allocations: 207.2 kB / 3.584 GB, free: 101.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/10.3, allocations: 0.9102 MB / 3.585 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/10.3, allocations: 25.7 kB / 3.585 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007563/10.3, allocations: 0.7339 MB / 3.586 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000542/10.31, allocations: 0.506 MB / 3.586 GB, free: 101 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/10.31, allocations: 0 / 3.586 GB, free: 101 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/10.31, allocations: 443.1 kB / 3.586 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/10.31, allocations: 1.141 MB / 3.588 GB, free: 100.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/10.31, allocations: 1.686 MB / 3.589 GB, free: 100.1 MB / 490.7 MB Notification: The following equation is consistent and got removed from the initialization problem: pipe.mediums[1].p = 10000000.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01908/10.33, allocations: 4.527 MB / 3.594 GB, free: 99.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/10.33, allocations: 6 kB / 3.594 GB, free: 99.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01682/10.35, allocations: 4.824 MB / 3.598 GB, free: 99.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00259/10.35, allocations: 6.522 MB / 3.605 GB, free: 92.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.104e-05/10.35, allocations: 19.77 kB / 3.605 GB, free: 92.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/10.35, allocations: 445.4 kB / 3.605 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/10.35, allocations: 0.5137 MB / 3.606 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/10.35, allocations: 3.413 MB / 3.609 GB, free: 90.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/10.36, allocations: 222.5 kB / 3.609 GB, free: 90.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005629/10.36, allocations: 100.9 kB / 3.609 GB, free: 90.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/10.36, allocations: 7.438 kB / 3.609 GB, free: 90.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01215/10.37, allocations: 3.885 MB / 3.613 GB, free: 90.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.296e-05/10.37, allocations: 18.34 kB / 3.613 GB, free: 90.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/10.37, allocations: 440 kB / 3.614 GB, free: 90.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/10.37, allocations: 0.5062 MB / 3.614 GB, free: 90.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/10.38, allocations: 3.419 MB / 3.617 GB, free: 87.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/10.38, allocations: 203.7 kB / 3.618 GB, free: 87.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004538/10.38, allocations: 104.1 kB / 3.618 GB, free: 87.55 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: Assuming redundant initial conditions for the following 1 initial equations: 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.0011/10.38, allocations: 170.6 kB / 3.618 GB, free: 87.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002195/10.38, allocations: 0.5052 MB / 3.618 GB, free: 87.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/10.39, allocations: 5.059 MB / 3.623 GB, free: 87.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.451e-05/10.4, allocations: 40.59 kB / 3.623 GB, free: 87.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.517e-05/10.4, allocations: 0.5469 kB / 3.623 GB, free: 87.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007192/10.4, allocations: 4.553 MB / 3.628 GB, free: 86.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/10.42, allocations: 7.422 MB / 3.635 GB, free: 85.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/10.42, allocations: 0 / 3.635 GB, free: 85.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/10.42, allocations: 330.5 kB / 3.635 GB, free: 85.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/10.42, allocations: 0.5145 MB / 3.636 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/10.42, allocations: 43.91 kB / 3.636 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/10.43, allocations: 3.606 MB / 3.639 GB, free: 83.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/10.43, allocations: 3.844 kB / 3.639 GB, free: 83.09 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01139/10.44, allocations: 6.204 MB / 3.645 GB, free: 82.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/10.44, allocations: 0.5128 MB / 3.646 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007425/10.44, allocations: 21.42 kB / 3.646 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/10.44, allocations: 159.2 kB / 3.646 GB, free: 82.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/10.44, allocations: 146.7 kB / 3.646 GB, free: 82.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/10.44, allocations: 55.78 kB / 3.646 GB, free: 82.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00153/10.44, allocations: 0.6575 MB / 3.647 GB, free: 82.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01549/10.46, allocations: 2.135 MB / 3.649 GB, free: 82.25 MB / 490.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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse17.phase,$cse17.region,$cse21.phase,$cse21.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 (156): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1,1 1,1 1,1 1,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01554/10.47, allocations: 2.119 MB / 3.651 GB, free: 82.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01237/10.49, allocations: 5.048 MB / 3.656 GB, free: 81.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/10.49, allocations: 3.812 kB / 3.656 GB, free: 81.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004576/10.49, allocations: 2.284 MB / 3.658 GB, free: 81.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/10.5, allocations: 0.5047 MB / 3.659 GB, free: 81.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/10.51, allocations: 4.762 MB / 3.663 GB, free: 81.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003648/10.51, allocations: 1.93 MB / 3.665 GB, free: 80.52 MB / 490.7 MB Notification: Performance of SimCode: time 2.445e-06/10.51, allocations: 0 / 3.665 GB, free: 80.52 MB / 490.7 MB Notification: Performance of Templates: time 0.1483/10.66, allocations: 75.78 MB / 3.739 GB, free: 45.47 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)