Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") [: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.005344/0.005344, allocations: 175.4 kB / 7.451 MB, free: 2.23 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.208/1.208, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001764/0.001764, allocations: 124.9 kB / 217.7 MB, free: 8.227 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.2109/0.2109, allocations: 37.97 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.145e-06, allocations: 1.219 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 48.71 MB / 398.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.641/8.753, allocations: 3.666 GB / 4.055 GB, free: 37.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/8.754, allocations: 87.94 kB / 4.055 GB, free: 37.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.987/15.74, allocations: 1.618 GB / 5.673 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005539/15.74, allocations: 79.92 kB / 5.673 GB, free: 15.55 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.04201/15.78, allocations: 8.788 MB / 5.682 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/15.78, allocations: 12.02 kB / 5.682 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/15.79, allocations: 395.8 kB / 5.682 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008467/15.79, allocations: 2.145 MB / 5.684 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005016/15.8, allocations: 404.8 kB / 5.684 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002043/15.8, allocations: 175.9 kB / 5.685 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01157/15.81, allocations: 4.501 MB / 5.689 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/15.82, allocations: 4.522 MB / 5.693 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/15.82, allocations: 7.938 kB / 5.693 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/15.82, allocations: 8 kB / 5.693 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003697/15.83, allocations: 285 kB / 5.694 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4558/16.28, allocations: 19.61 MB / 5.713 GB, free: 48.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/16.28, allocations: 1.716 MB / 5.714 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/16.29, allocations: 1.472 MB / 5.716 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002984/16.29, allocations: 3.343 MB / 5.719 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/16.29, allocations: 64.31 kB / 5.719 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=232): time 5.51e-06/16.29, allocations: 0 / 5.719 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=268): time 0.05586/16.35, allocations: 13.55 MB / 5.732 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/16.35, allocations: 236.5 kB / 5.733 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/16.35, allocations: 1.692 MB / 5.734 GB, free: 43.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006154/16.35, allocations: 31.8 kB / 5.734 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007462/16.35, allocations: 1.216 MB / 5.736 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/16.35, allocations: 0.9145 MB / 5.736 GB, free: 42.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/16.35, allocations: 6.188 kB / 5.736 GB, free: 42.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002001/16.35, allocations: 465.5 kB / 5.737 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/16.36, allocations: 1.751 MB / 5.739 GB, free: 42.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/16.36, allocations: 2.989 MB / 5.742 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02435/16.38, allocations: 5.842 MB / 5.747 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-05/16.38, allocations: 10.28 kB / 5.747 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.03391/16.42, allocations: 8.832 MB / 5.756 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.005188/16.42, allocations: 15.73 MB / 5.771 GB, free: 39.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-05/16.42, allocations: 48.47 kB / 5.771 GB, free: 39.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/16.43, allocations: 0.7363 MB / 5.772 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004662/16.43, allocations: 0.9331 MB / 5.773 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/16.43, allocations: 2.604 MB / 5.775 GB, free: 37.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005221/16.44, allocations: 310.1 kB / 5.776 GB, free: 37.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006917/16.44, allocations: 285.3 kB / 5.776 GB, free: 37.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/16.44, allocations: 3.469 kB / 5.776 GB, free: 37.91 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03073/16.47, allocations: 8.266 MB / 5.784 GB, free: 37.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.534e-05/16.47, allocations: 39.81 kB / 5.784 GB, free: 37.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/16.47, allocations: 0.7362 MB / 5.785 GB, free: 37.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003698/16.48, allocations: 0.9225 MB / 5.786 GB, free: 37.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/16.48, allocations: 2.609 MB / 5.788 GB, free: 36.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/16.48, allocations: 303.8 kB / 5.789 GB, free: 36.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006741/16.49, allocations: 282.5 kB / 5.789 GB, free: 36.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (487): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001498/16.49, allocations: 245.1 kB / 5.789 GB, free: 36.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008275/16.49, allocations: 269.8 kB / 5.789 GB, free: 35.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/16.5, allocations: 6.701 MB / 5.796 GB, free: 35.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.74e-05/16.5, allocations: 37.23 kB / 5.796 GB, free: 35.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/16.5, allocations: 4.625 kB / 5.796 GB, free: 35.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/16.5, allocations: 14.25 kB / 5.796 GB, free: 35.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02258/16.53, allocations: 8.637 MB / 5.804 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/16.53, allocations: 1.094 kB / 5.804 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/16.53, allocations: 0.5534 MB / 5.805 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004138/16.53, allocations: 0.9163 MB / 5.806 GB, free: 35.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006915/16.54, allocations: 88.86 kB / 5.806 GB, free: 35.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/16.54, allocations: 2.488 MB / 5.808 GB, free: 33.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/16.54, allocations: 6.312 kB / 5.808 GB, free: 33.58 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0188/16.56, allocations: 7.318 MB / 5.816 GB, free: 32.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002836/16.56, allocations: 0.8189 MB / 5.816 GB, free: 32.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/16.56, allocations: 24.67 kB / 5.816 GB, free: 32.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003586/16.56, allocations: 229.5 kB / 5.817 GB, free: 32.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/16.57, allocations: 186.7 kB / 5.817 GB, free: 32.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005401/16.57, allocations: 179.3 kB / 5.817 GB, free: 32.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002382/16.57, allocations: 1.214 MB / 5.818 GB, free: 32.58 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02321/16.59, allocations: 3.98 MB / 5.822 GB, free: 32.58 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02215/16.61, allocations: 5.596 MB / 5.827 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01808/16.63, allocations: 7.323 MB / 5.835 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/16.63, allocations: 1.344 kB / 5.835 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00512/16.64, allocations: 2.098 MB / 5.837 GB, free: 31.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008525/16.65, allocations: 1.012 MB / 5.838 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/16.67, allocations: 6.46 MB / 5.844 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006697/16.68, allocations: 2.812 MB / 5.847 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/16.68, allocations: 0.625 kB / 5.847 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of Templates: time 0.7066/17.38, allocations: 136.6 MB / 5.98 GB, free: 64.84 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1)