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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008683/0.008683, allocations: 100.5 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 199.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3937/0.3937, allocations: 39.94 MB / 309.8 MB, free: 9.453 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 68.38 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3542, allocations: 56.87 MB / 492.6 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.7418/1.096, allocations: 220.9 MB / 0.6968 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01468/1.111, allocations: 10.91 MB / 0.7074 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/1.113, allocations: 32.22 kB / 0.7075 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001723/1.115, allocations: 491.5 kB / 0.7079 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/1.126, allocations: 3.066 MB / 0.7109 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01534/1.141, allocations: 4.729 MB / 0.7156 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004447/1.145, allocations: 2.64 MB / 0.7181 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/1.147, allocations: 0.7358 MB / 0.7188 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/1.15, allocations: 1.029 MB / 0.7199 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/1.152, allocations: 1.139 MB / 0.721 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002639/1.153, allocations: 111.4 kB / 0.7211 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02083/1.174, allocations: 8.386 MB / 0.7293 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/1.175, allocations: 477.2 kB / 0.7297 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/1.176, allocations: 0.603 MB / 0.7303 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0226/1.199, allocations: 5.745 MB / 0.7359 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.199, allocations: 0 / 0.7359 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/1.199, allocations: 0 / 0.7359 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.281e-05/1.199, allocations: 0 / 0.7359 GB, free: 2.438 MB / 0.5137 GB 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.007006/1.206, allocations: 2.275 MB / 0.7381 GB, free: 132 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/1.206, allocations: 11.89 kB / 0.7381 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005776/1.206, allocations: 118.8 kB / 0.7383 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/1.208, allocations: 0.7471 MB / 0.739 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/1.208, allocations: 62.98 kB / 0.7391 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.208, allocations: 76.08 kB / 0.7391 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/1.211, allocations: 1.254 MB / 0.7403 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.211, allocations: 0 / 0.7403 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.211, allocations: 37.55 kB / 0.7404 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/1.211, allocations: 73.95 kB / 0.7405 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/1.214, allocations: 1.412 MB / 0.7418 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009586/1.223, allocations: 4.765 MB / 0.7465 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/1.225, allocations: 0.8544 MB / 0.7473 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/1.226, allocations: 414.3 kB / 0.7477 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/1.228, allocations: 1.393 MB / 0.7491 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.228, allocations: 47.06 kB / 0.7491 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=55): time 2.715e-06/1.228, allocations: 0 / 0.7491 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55): time 0.002566/1.23, allocations: 1.261 MB / 0.7504 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/1.23, allocations: 115.4 kB / 0.7505 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/1.232, allocations: 0.9699 MB / 0.7514 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/1.232, allocations: 41.64 kB / 0.7514 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/1.232, allocations: 445.6 kB / 0.7519 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/1.232, allocations: 202.5 kB / 0.7521 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/1.233, allocations: 190.5 kB / 0.7522 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.233, allocations: 341.9 kB / 0.7526 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000891/1.234, allocations: 491.2 kB / 0.753 GB, free: 288 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/1.235, allocations: 0.6011 MB / 0.7536 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/1.237, allocations: 1.025 MB / 0.7546 GB, free: 14.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.237, allocations: 0 / 0.7546 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002409/1.239, allocations: 1.277 MB / 0.7559 GB, free: 13.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.239, allocations: 11.98 kB / 0.7559 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.239, allocations: 4 kB / 0.7559 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.239, allocations: 4 kB / 0.7559 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000888/1.24, allocations: 212.9 kB / 0.7561 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/1.24, allocations: 8 kB / 0.7561 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/1.241, allocations: 118.6 kB / 0.7562 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.241, allocations: 67.91 kB / 0.7563 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/1.242, allocations: 0.6619 MB / 0.7569 GB, free: 12.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009307/1.243, allocations: 0.5933 MB / 0.7575 GB, free: 11.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00165/1.245, allocations: 0.9746 MB / 0.7585 GB, free: 10.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.76e-06/1.245, allocations: 3.984 kB / 0.7585 GB, free: 10.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002401/1.247, allocations: 1.235 MB / 0.7597 GB, free: 9.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.247, allocations: 4 kB / 0.7597 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.247, allocations: 4 kB / 0.7597 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.248, allocations: 8 kB / 0.7597 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/1.248, allocations: 202.1 kB / 0.7599 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.248, allocations: 10.53 kB / 0.7599 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008767/1.249, allocations: 71.41 kB / 0.76 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.249, allocations: 64.16 kB / 0.76 GB, free: 9.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003903/1.25, allocations: 234.3 kB / 0.7602 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/1.25, allocations: 94.88 kB / 0.7603 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/1.253, allocations: 1.275 MB / 0.7616 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/1.253, allocations: 4 kB / 0.7616 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.253, allocations: 0 / 0.7616 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.253, allocations: 3.984 kB / 0.7616 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/1.256, allocations: 2.056 MB / 0.7636 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.256, allocations: 4 kB / 0.7636 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/1.256, allocations: 131.5 kB / 0.7637 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/1.256, allocations: 4.25 kB / 0.7637 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/1.256, allocations: 28 kB / 0.7638 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/1.256, allocations: 7.984 kB / 0.7638 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.256, allocations: 2.625 kB / 0.7638 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/1.258, allocations: 1.078 MB / 0.7648 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/1.259, allocations: 187.8 kB / 0.765 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.259, allocations: 19.98 kB / 0.765 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/1.259, allocations: 39.97 kB / 0.7651 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.26, allocations: 47.12 kB / 0.7651 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.26, allocations: 51.97 kB / 0.7651 GB, free: 3.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00107/1.261, allocations: 0.702 MB / 0.7658 GB, free: 2.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.81e-07/1.261, allocations: 0 / 0.7658 GB, free: 2.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004025/1.265, allocations: 1.186 MB / 0.767 GB, free: 1.758 MB / 0.545 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003342/1.268, allocations: 1.188 MB / 0.7682 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00315/1.271, allocations: 1.62 MB / 0.7697 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/1.271, allocations: 7.953 kB / 0.7697 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008029/1.272, allocations: 452.9 kB / 0.7702 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/1.275, allocations: 0.536 MB / 0.7707 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/1.278, allocations: 1.757 MB / 0.7724 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/1.279, allocations: 1.06 MB / 0.7734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001745/1.28, allocations: 0.5596 MB / 0.774 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/1.281, allocations: 119.4 kB / 0.7741 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of SimCode: time 1.562e-06/1.281, allocations: 0 / 0.7741 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.06028/1.341, allocations: 37.81 MB / 0.811 GB, free: 4.797 MB / 0.5919 GB 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)