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") [: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.004663/0.004663, allocations: 174.9 kB / 7.45 MB, free: 2.488 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.431/1.431, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001752/0.001752, allocations: 119.8 kB / 217.7 MB, free: 8.219 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.1754/0.1754, allocations: 37.98 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.542e-06, allocations: 0 / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 48.71 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.133/6.243, allocations: 2.553 GB / 2.941 GB, free: 116.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/6.244, allocations: 71.75 kB / 2.941 GB, free: 116.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.421/8.665, allocations: 479.7 MB / 3.41 GB, free: 40.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001752/8.665, allocations: 37.28 kB / 3.41 GB, free: 40.7 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.01581/8.681, allocations: 2.797 MB / 3.413 GB, free: 39.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.754e-05/8.681, allocations: 11.5 kB / 3.413 GB, free: 39.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005193/8.686, allocations: 0.601 MB / 3.413 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00464/8.691, allocations: 1.462 MB / 3.415 GB, free: 39.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/8.691, allocations: 80.89 kB / 3.415 GB, free: 39.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/8.691, allocations: 85.3 kB / 3.415 GB, free: 39.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004012/8.695, allocations: 2.056 MB / 3.417 GB, free: 39.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/8.699, allocations: 2.083 MB / 3.419 GB, free: 38.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/8.699, allocations: 4.688 kB / 3.419 GB, free: 38.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/8.699, allocations: 6.875 kB / 3.419 GB, free: 38.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/8.699, allocations: 117.6 kB / 3.419 GB, free: 38.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3353/9.035, allocations: 134.1 MB / 3.55 GB, free: 23.37 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/9.037, allocations: 0.871 MB / 3.551 GB, free: 22.87 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/9.039, allocations: 0.774 MB / 3.552 GB, free: 22.45 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04401/9.083, allocations: 16.71 MB / 3.568 GB, free: 6.094 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0029/9.086, allocations: 0.8813 MB / 3.569 GB, free: 5.605 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=112): time 1.156e-05/9.086, allocations: 0 / 3.569 GB, free: 5.605 MB / 0.4949 GB Notification: Performance of matching and sorting (n=136): time 0.01998/9.106, allocations: 6.212 MB / 3.575 GB, free: 1.73 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/9.106, allocations: 197.4 kB / 3.575 GB, free: 1.496 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/9.108, allocations: 0.8437 MB / 3.576 GB, free: 0.9375 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/9.108, allocations: 25.7 kB / 3.576 GB, free: 0.9062 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/9.109, allocations: 0.6117 MB / 3.576 GB, free: 432 kB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.000537/9.109, allocations: 463.8 kB / 3.577 GB, free: 64 kB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/9.109, allocations: 0 / 3.577 GB, free: 64 kB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.359/9.468, allocations: 431.2 kB / 3.577 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/9.471, allocations: 0.9504 MB / 3.578 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/9.472, allocations: 1.437 MB / 3.58 GB, free: 133.4 MB / 0.4949 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe.mediums[2].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe.mediums[3].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe.mediums[4].p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe.mediums[1].p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/9.49, allocations: 4.456 MB / 3.584 GB, free: 133 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/9.49, allocations: 3.812 kB / 3.584 GB, free: 133 MB / 0.4949 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01352/9.504, allocations: 4.69 MB / 3.589 GB, free: 132.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.002678/9.506, allocations: 5.656 MB / 3.594 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/9.507, allocations: 15.56 kB / 3.594 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009065/9.516, allocations: 2.127 MB / 3.596 GB, free: 127 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/9.517, allocations: 283.6 kB / 3.596 GB, free: 127 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008161/9.525, allocations: 3.716 MB / 3.6 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003271/9.529, allocations: 192.4 kB / 3.6 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/9.529, allocations: 89.95 kB / 3.6 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/9.529, allocations: 5.594 kB / 3.6 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01377/9.543, allocations: 4.029 MB / 3.604 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.33e-05/9.543, allocations: 17.34 kB / 3.604 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007/9.55, allocations: 1.791 MB / 3.606 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/9.552, allocations: 298.5 kB / 3.606 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005813/9.557, allocations: 3.249 MB / 3.61 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/9.56, allocations: 179.1 kB / 3.61 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004186/9.561, allocations: 93.27 kB / 3.61 GB, free: 125.9 MB / 0.4949 GB 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 4 initial equations: $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.001138/9.562, allocations: 174 kB / 3.61 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002159/9.564, allocations: 0.4966 MB / 3.61 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009993/9.574, allocations: 4.737 MB / 3.615 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.519e-05/9.574, allocations: 37.89 kB / 3.615 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/9.574, allocations: 0 / 3.615 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006261/9.58, allocations: 4.309 MB / 3.619 GB, free: 124.9 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/9.597, allocations: 7.39 MB / 3.627 GB, free: 124.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/9.597, allocations: 0 / 3.627 GB, free: 124.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/9.598, allocations: 225.5 kB / 3.627 GB, free: 124.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004282/9.602, allocations: 1.191 MB / 3.628 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/9.603, allocations: 34.55 kB / 3.628 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/9.606, allocations: 2.516 MB / 3.63 GB, free: 123.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/9.606, allocations: 1.5 kB / 3.63 GB, free: 123.5 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01143/9.617, allocations: 5.906 MB / 3.636 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/9.619, allocations: 476.1 kB / 3.637 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007208/9.62, allocations: 17.06 kB / 3.637 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/9.622, allocations: 128.5 kB / 3.637 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/9.622, allocations: 142 kB / 3.637 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/9.623, allocations: 58.05 kB / 3.637 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.001756/9.624, allocations: 0.6074 MB / 3.638 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01596/9.64, allocations: 1.998 MB / 3.639 GB, free: 122.7 MB / 0.4949 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: 24 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.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 (105): * Single equations (assignments): 95 * 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: 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.01857/9.659, allocations: 2.117 MB / 3.642 GB, free: 122.5 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01087/9.67, allocations: 4.416 MB / 3.646 GB, free: 122.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/9.67, allocations: 0 / 3.646 GB, free: 122.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003921/9.674, allocations: 2.249 MB / 3.648 GB, free: 122.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/9.678, allocations: 0.4974 MB / 3.649 GB, free: 122.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/9.689, allocations: 4.137 MB / 3.653 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002721/9.692, allocations: 1.718 MB / 3.654 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of SimCode: time 2.084e-06/9.692, allocations: 0 / 3.654 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of Templates: time 0.1336/9.825, allocations: 75.74 MB / 3.728 GB, free: 103.6 MB / 0.4949 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)