Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003946/0.003946, allocations: 183.1 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.265/1.265, allocations: 194.2 MB / 202.1 MB, free: 8.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001684/0.001684, allocations: 117.9 kB / 247.1 MB, free: 6.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1639/0.1639, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.191e-06/6.222e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.08454, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.244/6.329, allocations: 3.673 GB / 4.11 GB, free: 8.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/6.329, allocations: 83.95 kB / 4.11 GB, free: 8.188 MB / 474.7 MB Notification: Performance of FrontEnd: time 6.342/12.67, allocations: 1.629 GB / 5.74 GB, free: 30.73 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002088/12.67, allocations: 83.69 kB / 5.74 GB, free: 30.73 MB / 0.573 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.03428/12.71, allocations: 8.797 MB / 5.748 GB, free: 26.85 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/12.71, allocations: 12.89 kB / 5.748 GB, free: 26.85 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00389/12.71, allocations: 402.4 kB / 5.749 GB, free: 26.67 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006457/12.72, allocations: 2.137 MB / 5.751 GB, free: 26.19 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/12.72, allocations: 410 kB / 5.751 GB, free: 25.9 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007655/12.72, allocations: 169.6 kB / 5.751 GB, free: 25.9 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007109/12.72, allocations: 4.511 MB / 5.756 GB, free: 25.88 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006363/12.73, allocations: 4.52 MB / 5.76 GB, free: 25.19 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.096e-05/12.73, allocations: 9.516 kB / 5.76 GB, free: 25.19 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003667/12.73, allocations: 15.19 kB / 5.76 GB, free: 25.19 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/12.73, allocations: 279.7 kB / 5.761 GB, free: 25.18 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03009/12.76, allocations: 20.25 MB / 5.78 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/12.76, allocations: 1.707 MB / 5.782 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/12.77, allocations: 1.464 MB / 5.783 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/12.77, allocations: 3.341 MB / 5.787 GB, free: 11.71 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/12.77, allocations: 66.88 kB / 5.787 GB, free: 11.67 MB / 0.573 GB Notification: Performance of pre-optimization done (n=232): time 4.238e-06/12.77, allocations: 0 / 5.787 GB, free: 11.67 MB / 0.573 GB Notification: Performance of matching and sorting (n=268): time 0.05426/12.82, allocations: 13.57 MB / 5.8 GB, free: 10.59 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/12.82, allocations: 243.5 kB / 5.8 GB, free: 10.34 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/12.83, allocations: 1.68 MB / 5.802 GB, free: 10.08 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007671/12.83, allocations: 30.08 kB / 5.802 GB, free: 10.05 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007938/12.83, allocations: 1.226 MB / 5.803 GB, free: 9.277 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/12.83, allocations: 0.9087 MB / 5.804 GB, free: 8.688 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005751/12.83, allocations: 2.781 kB / 5.804 GB, free: 8.688 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003/12.83, allocations: 473.4 kB / 5.804 GB, free: 8.375 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/12.83, allocations: 1.748 MB / 5.806 GB, free: 8.367 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003536/12.84, allocations: 2.994 MB / 5.809 GB, free: 6.898 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02555/12.86, allocations: 5.84 MB / 5.815 GB, free: 6.852 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/12.86, allocations: 12.91 kB / 5.815 GB, free: 6.852 MB / 0.573 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.03573/12.9, allocations: 8.831 MB / 5.823 GB, free: 6.578 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.005266/12.9, allocations: 15.73 MB / 5.839 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/12.9, allocations: 39.59 kB / 5.839 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/12.91, allocations: 0.7381 MB / 5.84 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/12.91, allocations: 0.9331 MB / 5.84 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/12.91, allocations: 2.613 MB / 5.843 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005995/12.92, allocations: 311.1 kB / 5.843 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/12.92, allocations: 283.2 kB / 5.844 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/12.92, allocations: 3.625 kB / 5.844 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03243/12.95, allocations: 8.267 MB / 5.852 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/12.96, allocations: 37.75 kB / 5.852 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/12.96, allocations: 0.7384 MB / 5.852 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/12.96, allocations: 0.9256 MB / 5.853 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/12.97, allocations: 2.604 MB / 5.856 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/12.97, allocations: 304.1 kB / 5.856 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001925/12.97, allocations: 279.9 kB / 5.856 GB, free: 2.527 MB / 0.5886 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.002364/12.98, allocations: 241.1 kB / 5.857 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/12.98, allocations: 268.4 kB / 5.857 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/12.99, allocations: 6.708 MB / 5.863 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/12.99, allocations: 36.66 kB / 5.863 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/12.99, allocations: 3.688 kB / 5.863 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.26e-05/13, allocations: 17.53 kB / 5.864 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/13.02, allocations: 8.636 MB / 5.872 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/13.02, allocations: 0 / 5.872 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/13.02, allocations: 0.5447 MB / 5.872 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004311/13.03, allocations: 0.9236 MB / 5.873 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008065/13.03, allocations: 87.95 kB / 5.873 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/13.03, allocations: 2.498 MB / 5.876 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/13.03, allocations: 4.594 kB / 5.876 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01848/13.05, allocations: 7.313 MB / 5.883 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002874/13.05, allocations: 0.8145 MB / 5.884 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/13.05, allocations: 27.55 kB / 5.884 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003695/13.06, allocations: 229 kB / 5.884 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005151/13.06, allocations: 190.7 kB / 5.884 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006612/13.06, allocations: 169.5 kB / 5.884 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.002621/13.06, allocations: 1.214 MB / 5.886 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01859/13.08, allocations: 3.987 MB / 5.89 GB, free: 14.05 MB / 0.6042 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.0198/13.1, allocations: 5.583 MB / 5.895 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01692/13.12, allocations: 7.336 MB / 5.902 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/13.12, allocations: 0.6562 kB / 5.902 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004491/13.12, allocations: 2.095 MB / 5.904 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006318/13.13, allocations: 1.01 MB / 5.905 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/13.15, allocations: 6.459 MB / 5.911 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006796/13.15, allocations: 2.814 MB / 5.914 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.212e-06/13.15, allocations: 0 / 5.914 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.52/13.67, allocations: 136.7 MB / 6.048 GB, free: 92.34 MB / 0.6198 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1)