Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.TestMultiPort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") [: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.002931/0.002931, allocations: 181.5 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.222/1.222, allocations: 194.2 MB / 202.1 MB, free: 8.75 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.0017/0.001701, allocations: 116.5 kB / 247.1 MB, free: 6.301 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.1561/0.1561, allocations: 39.93 MB / 331.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.065e-06/8.095e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09671, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.405/6.502, allocations: 3.659 GB / 4.096 GB, free: 7.137 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/6.502, allocations: 84.61 kB / 4.096 GB, free: 7.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.664/8.166, allocations: 471 MB / 4.556 GB, free: 59.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001387/8.167, allocations: 22.06 kB / 4.556 GB, free: 59.84 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007957/8.175, allocations: 1.964 MB / 4.558 GB, free: 58.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/8.175, allocations: 8.719 kB / 4.558 GB, free: 58.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/8.176, allocations: 117.2 kB / 4.558 GB, free: 58.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/8.178, allocations: 0.7808 MB / 4.559 GB, free: 58.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/8.178, allocations: 24.95 kB / 4.559 GB, free: 58.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/8.179, allocations: 40.59 kB / 4.559 GB, free: 58.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003149/8.182, allocations: 1.237 MB / 4.56 GB, free: 58.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/8.185, allocations: 1.12 MB / 4.561 GB, free: 58.33 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/8.185, allocations: 3.938 kB / 4.561 GB, free: 58.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/8.185, allocations: 0.6094 kB / 4.561 GB, free: 58.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/8.186, allocations: 75.06 kB / 4.561 GB, free: 58.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009796/8.195, allocations: 4.54 MB / 4.566 GB, free: 55.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/8.196, allocations: 0.5487 MB / 4.566 GB, free: 55.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/8.197, allocations: 273.9 kB / 4.567 GB, free: 55.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/8.197, allocations: 0.7499 MB / 4.567 GB, free: 54.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/8.198, allocations: 42.88 kB / 4.567 GB, free: 54.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=52): time 3.457e-06/8.198, allocations: 0 / 4.567 GB, free: 54.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.002378/8.2, allocations: 0.7467 MB / 4.568 GB, free: 54.51 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/8.2, allocations: 107.2 kB / 4.568 GB, free: 54.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008633/8.201, allocations: 0.567 MB / 4.569 GB, free: 54.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/8.201, allocations: 25.7 kB / 4.569 GB, free: 54.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/8.201, allocations: 420 kB / 4.569 GB, free: 53.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/8.201, allocations: 177 kB / 4.569 GB, free: 53.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/8.201, allocations: 0.8125 kB / 4.569 GB, free: 53.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/8.201, allocations: 383 kB / 4.57 GB, free: 53.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/8.202, allocations: 318.7 kB / 4.57 GB, free: 53.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/8.203, allocations: 0.5542 MB / 4.571 GB, free: 52.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/8.21, allocations: 1.535 MB / 4.572 GB, free: 52.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/8.21, allocations: 0 / 4.572 GB, free: 52.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.008742/8.219, allocations: 2.107 MB / 4.574 GB, free: 52.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005643/8.219, allocations: 2.874 MB / 4.577 GB, free: 48.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/8.219, allocations: 6.969 kB / 4.577 GB, free: 48.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/8.22, allocations: 16.72 kB / 4.577 GB, free: 48.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/8.221, allocations: 230.9 kB / 4.577 GB, free: 48.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/8.221, allocations: 15.69 kB / 4.577 GB, free: 48.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/8.222, allocations: 106.6 kB / 4.577 GB, free: 48.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/8.222, allocations: 72.06 kB / 4.577 GB, free: 48.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/8.222, allocations: 3.938 kB / 4.577 GB, free: 48.88 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008196/8.23, allocations: 1.911 MB / 4.579 GB, free: 47.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/8.23, allocations: 8 kB / 4.579 GB, free: 47.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/8.23, allocations: 12 kB / 4.579 GB, free: 47.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/8.231, allocations: 233 kB / 4.579 GB, free: 47.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/8.231, allocations: 19.69 kB / 4.579 GB, free: 47.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/8.232, allocations: 74.25 kB / 4.58 GB, free: 47.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/8.233, allocations: 70.89 kB / 4.58 GB, free: 47.28 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003132/8.233, allocations: 128.2 kB / 4.58 GB, free: 47.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/8.233, allocations: 79.06 kB / 4.58 GB, free: 47.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/8.236, allocations: 1.075 MB / 4.581 GB, free: 46.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/8.236, allocations: 4 kB / 4.581 GB, free: 46.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/8.236, allocations: 0 / 4.581 GB, free: 46.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/8.236, allocations: 6.719 kB / 4.581 GB, free: 46.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/8.239, allocations: 1.517 MB / 4.582 GB, free: 44.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/8.239, allocations: 4 kB / 4.582 GB, free: 44.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/8.24, allocations: 117.9 kB / 4.582 GB, free: 44.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/8.24, allocations: 7.906 kB / 4.582 GB, free: 44.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/8.24, allocations: 15.8 kB / 4.582 GB, free: 44.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/8.24, allocations: 4 kB / 4.582 GB, free: 44.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/8.24, allocations: 4 kB / 4.582 GB, free: 44.78 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001743/8.242, allocations: 0.9156 MB / 4.583 GB, free: 43.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/8.242, allocations: 187.2 kB / 4.584 GB, free: 43.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/8.242, allocations: 8 kB / 4.584 GB, free: 43.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/8.243, allocations: 35.03 kB / 4.584 GB, free: 43.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/8.243, allocations: 39.58 kB / 4.584 GB, free: 43.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/8.243, allocations: 39.12 kB / 4.584 GB, free: 43.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005302/8.244, allocations: 463.2 kB / 4.584 GB, free: 43.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004616/8.248, allocations: 1.287 MB / 4.585 GB, free: 41.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005998/8.254, allocations: 2.174 MB / 4.587 GB, free: 40.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/8.256, allocations: 1.186 MB / 4.589 GB, free: 39.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/8.256, allocations: 4 kB / 4.589 GB, free: 39.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/8.257, allocations: 283.9 kB / 4.589 GB, free: 39.03 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/8.258, allocations: 305.4 kB / 4.589 GB, free: 38.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/8.262, allocations: 1.369 MB / 4.591 GB, free: 37.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/8.263, allocations: 1.237 MB / 4.592 GB, free: 36.11 MB / 474.7 MB Notification: Performance of SimCode: time 2.054e-06/8.263, allocations: 0 / 4.592 GB, free: 36.11 MB / 474.7 MB Notification: Performance of Templates: time 0.05229/8.315, allocations: 36.84 MB / 4.628 GB, free: 15.52 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1)