Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.TestMultiPort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.006179/0.006179, allocations: 174.2 kB / 7.448 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.274/1.274, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001722/0.001721, allocations: 119.8 kB / 217.7 MB, free: 8.133 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.189/0.189, allocations: 37.97 MB / 294.8 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.076e-06/8.095e-06, allocations: 1.594 kB / 349.5 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 48.7 MB / 398.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.454/8.58, allocations: 3.652 GB / 4.041 GB, free: 48.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/8.581, allocations: 79.95 kB / 4.041 GB, free: 48.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.869/10.45, allocations: 468.9 MB / 4.499 GB, free: 46.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001334/10.45, allocations: 31.81 kB / 4.499 GB, free: 46.88 MB / 426.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.008306/10.46, allocations: 1.963 MB / 4.501 GB, free: 45.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/10.46, allocations: 10.72 kB / 4.501 GB, free: 45.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009698/10.46, allocations: 116 kB / 4.501 GB, free: 45.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/10.46, allocations: 0.7744 MB / 4.502 GB, free: 45.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/10.46, allocations: 24.12 kB / 4.502 GB, free: 45.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/10.46, allocations: 41.25 kB / 4.502 GB, free: 45.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002878/10.47, allocations: 1.241 MB / 4.503 GB, free: 45.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/10.47, allocations: 1.116 MB / 4.504 GB, free: 45.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/10.47, allocations: 0 / 4.504 GB, free: 45.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/10.47, allocations: 5.312 kB / 4.504 GB, free: 45.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/10.47, allocations: 78.47 kB / 4.504 GB, free: 45.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/10.48, allocations: 4.371 MB / 4.509 GB, free: 43.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/10.48, allocations: 0.5484 MB / 4.509 GB, free: 43.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/10.48, allocations: 275.9 kB / 4.509 GB, free: 43.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007357/10.48, allocations: 0.7541 MB / 4.51 GB, free: 42.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/10.48, allocations: 39.12 kB / 4.51 GB, free: 42.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 3.296e-06/10.48, allocations: 0 / 4.51 GB, free: 42.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.002806/10.48, allocations: 0.7418 MB / 4.511 GB, free: 42.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/10.48, allocations: 108.9 kB / 4.511 GB, free: 41.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/10.49, allocations: 0.5748 MB / 4.512 GB, free: 41.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/10.49, allocations: 26.98 kB / 4.512 GB, free: 41.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/10.49, allocations: 412 kB / 4.512 GB, free: 41.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/10.49, allocations: 177.6 kB / 4.512 GB, free: 41.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/10.49, allocations: 0 / 4.512 GB, free: 41.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/10.49, allocations: 384.8 kB / 4.512 GB, free: 40.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/10.49, allocations: 323.4 kB / 4.513 GB, free: 40.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/10.49, allocations: 0.5508 MB / 4.513 GB, free: 40.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008029/10.5, allocations: 1.532 MB / 4.515 GB, free: 40.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-05/10.5, allocations: 3.625 kB / 4.515 GB, free: 40.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01042/10.51, allocations: 2.108 MB / 4.517 GB, free: 39.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006472/10.51, allocations: 2.868 MB / 4.52 GB, free: 36.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/10.51, allocations: 7.906 kB / 4.52 GB, free: 36.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-05/10.51, allocations: 18.19 kB / 4.52 GB, free: 36.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/10.51, allocations: 229.9 kB / 4.52 GB, free: 36.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/10.51, allocations: 14.19 kB / 4.52 GB, free: 36.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/10.51, allocations: 109.2 kB / 4.52 GB, free: 36.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/10.51, allocations: 66.81 kB / 4.52 GB, free: 36.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/10.51, allocations: 4.406 kB / 4.52 GB, free: 36.45 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009/10.52, allocations: 1.913 MB / 4.522 GB, free: 35.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/10.52, allocations: 9.078 kB / 4.522 GB, free: 35.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/10.52, allocations: 12 kB / 4.522 GB, free: 35.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/10.52, allocations: 235.8 kB / 4.522 GB, free: 34.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/10.52, allocations: 18.09 kB / 4.522 GB, free: 34.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00098/10.52, allocations: 80.03 kB / 4.522 GB, free: 34.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/10.52, allocations: 66.56 kB / 4.522 GB, free: 34.79 MB / 426.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.00028/10.52, allocations: 121.6 kB / 4.522 GB, free: 34.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/10.52, allocations: 79.06 kB / 4.523 GB, free: 34.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/10.52, allocations: 1.078 MB / 4.524 GB, free: 33.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/10.52, allocations: 4 kB / 4.524 GB, free: 33.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/10.52, allocations: 0.6094 kB / 4.524 GB, free: 33.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/10.52, allocations: 2.25 kB / 4.524 GB, free: 33.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/10.53, allocations: 1.521 MB / 4.525 GB, free: 32.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/10.53, allocations: 8.25 kB / 4.525 GB, free: 32.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/10.53, allocations: 118 kB / 4.525 GB, free: 32.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/10.53, allocations: 4 kB / 4.525 GB, free: 32.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/10.53, allocations: 17.11 kB / 4.525 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/10.53, allocations: 4 kB / 4.525 GB, free: 32.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/10.53, allocations: 4 kB / 4.525 GB, free: 32.26 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002112/10.53, allocations: 0.9109 MB / 4.526 GB, free: 31.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/10.53, allocations: 191.6 kB / 4.526 GB, free: 31.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/10.53, allocations: 9.109 kB / 4.526 GB, free: 31.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/10.53, allocations: 34.17 kB / 4.526 GB, free: 31.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/10.53, allocations: 47.75 kB / 4.526 GB, free: 31.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/10.53, allocations: 37.81 kB / 4.526 GB, free: 31.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0007407/10.53, allocations: 460.3 kB / 4.527 GB, free: 30.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006919/10.54, allocations: 1.281 MB / 4.528 GB, free: 29.42 MB / 426.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.00881/10.55, allocations: 2.183 MB / 4.53 GB, free: 27.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003011/10.55, allocations: 1.185 MB / 4.531 GB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/10.55, allocations: 0 / 4.531 GB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005536/10.55, allocations: 284.1 kB / 4.532 GB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/10.55, allocations: 318.4 kB / 4.532 GB, free: 26.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/10.56, allocations: 1.367 MB / 4.533 GB, free: 24.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/10.56, allocations: 1.234 MB / 4.535 GB, free: 23.48 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/10.56, allocations: 0 / 4.535 GB, free: 23.48 MB / 426.7 MB Notification: Performance of Templates: time 0.05875/10.62, allocations: 36.83 MB / 4.571 GB, free: 2.883 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1)