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/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.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 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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008034/0.008034, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.001789/0.001789, allocations: 190.8 kB / 16.67 MB, free: 5.961 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.579/1.579, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3604/0.3604, allocations: 38.01 MB / 307.9 MB, free: 10.39 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.1. 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.001745/0.001745, allocations: 72.39 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4191, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.7445/1.164, allocations: 220.8 MB / 0.6937 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01638/1.18, allocations: 10.91 MB / 0.7043 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/1.182, allocations: 28.84 kB / 0.7044 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/1.184, allocations: 491.6 kB / 0.7048 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/1.196, allocations: 3.049 MB / 0.7078 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01689/1.212, allocations: 4.725 MB / 0.7124 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005428/1.218, allocations: 2.641 MB / 0.715 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/1.22, allocations: 0.7419 MB / 0.7157 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/1.223, allocations: 1.026 MB / 0.7167 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/1.225, allocations: 1.133 MB / 0.7178 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/1.225, allocations: 116.9 kB / 0.7179 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02261/1.248, allocations: 8.387 MB / 0.7261 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/1.249, allocations: 472.2 kB / 0.7266 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/1.25, allocations: 0.5991 MB / 0.7272 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01962/1.27, allocations: 5.75 MB / 0.7328 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.27, allocations: 0 / 0.7328 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.933e-06/1.27, allocations: 0 / 0.7328 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.11e-05/1.27, allocations: 0 / 0.7328 GB, free: 4.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.006171/1.276, allocations: 2.271 MB / 0.735 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.276, allocations: 15.89 kB / 0.735 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004964/1.277, allocations: 118.7 kB / 0.7351 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.278, allocations: 0.7446 MB / 0.7359 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/1.278, allocations: 69.67 kB / 0.7359 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/1.278, allocations: 70.64 kB / 0.736 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/1.28, allocations: 1.25 MB / 0.7372 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.28, allocations: 7.984 kB / 0.7372 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.554e-05/1.28, allocations: 36.64 kB / 0.7372 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.741e-05/1.28, allocations: 77.89 kB / 0.7373 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/1.283, allocations: 1.409 MB / 0.7387 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008757/1.292, allocations: 4.758 MB / 0.7433 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/1.293, allocations: 0.8508 MB / 0.7442 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/1.294, allocations: 418.3 kB / 0.7446 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/1.296, allocations: 1.396 MB / 0.7459 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.296, allocations: 39.12 kB / 0.746 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=55): time 3.797e-06/1.296, allocations: 0 / 0.746 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55): time 0.002692/1.298, allocations: 1.262 MB / 0.7472 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.298, allocations: 115.4 kB / 0.7473 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.3, allocations: 0.9738 MB / 0.7483 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/1.3, allocations: 37.7 kB / 0.7483 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/1.3, allocations: 449.9 kB / 0.7487 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/1.3, allocations: 196.4 kB / 0.7489 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/1.301, allocations: 197 kB / 0.7491 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.301, allocations: 341.9 kB / 0.7494 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/1.302, allocations: 492.5 kB / 0.7499 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009291/1.303, allocations: 0.5972 MB / 0.7505 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/1.304, allocations: 1.017 MB / 0.7515 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1.304, allocations: 11.92 kB / 0.7515 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002274/1.307, allocations: 1.281 MB / 0.7527 GB, free: 15.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.307, allocations: 5.25 kB / 0.7527 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.307, allocations: 7.984 kB / 0.7528 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.307, allocations: 8 kB / 0.7528 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/1.308, allocations: 202.5 kB / 0.753 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/1.308, allocations: 12 kB / 0.753 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/1.308, allocations: 118.7 kB / 0.7531 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.309, allocations: 59.97 kB / 0.7531 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/1.31, allocations: 0.6721 MB / 0.7538 GB, free: 14.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009722/1.311, allocations: 0.5868 MB / 0.7544 GB, free: 13.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001732/1.312, allocations: 0.9824 MB / 0.7553 GB, free: 12.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.681e-06/1.312, allocations: 4 kB / 0.7553 GB, free: 12.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002352/1.315, allocations: 1.231 MB / 0.7565 GB, free: 11.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.315, allocations: 8 kB / 0.7565 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.315, allocations: 7.938 kB / 0.7565 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/1.315, allocations: 4 kB / 0.7566 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/1.316, allocations: 212.6 kB / 0.7568 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.316, allocations: 4 kB / 0.7568 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/1.316, allocations: 71.41 kB / 0.7568 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.317, allocations: 63.97 kB / 0.7569 GB, free: 11.01 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.0004163/1.317, allocations: 226.5 kB / 0.7571 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/1.317, allocations: 94.88 kB / 0.7572 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/1.32, allocations: 1.272 MB / 0.7584 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.32, allocations: 11.98 kB / 0.7584 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.32, allocations: 0 / 0.7584 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/1.32, allocations: 3.984 kB / 0.7585 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/1.323, allocations: 2.046 MB / 0.7604 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.323, allocations: 0 / 0.7604 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/1.324, allocations: 139.5 kB / 0.7606 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.324, allocations: 4 kB / 0.7606 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/1.324, allocations: 24.25 kB / 0.7606 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/1.324, allocations: 10.52 kB / 0.7606 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.324, allocations: 4 kB / 0.7606 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/1.325, allocations: 1.067 MB / 0.7617 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/1.326, allocations: 195.7 kB / 0.7619 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/1.326, allocations: 23.89 kB / 0.7619 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/1.327, allocations: 31.97 kB / 0.7619 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/1.327, allocations: 59.03 kB / 0.762 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.327, allocations: 51.97 kB / 0.762 GB, free: 5.637 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008798/1.328, allocations: 0.6942 MB / 0.7627 GB, free: 4.949 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.328, allocations: 0 / 0.7627 GB, free: 4.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003211/1.331, allocations: 1.19 MB / 0.7639 GB, free: 3.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.002745/1.334, allocations: 1.202 MB / 0.765 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002804/1.336, allocations: 1.62 MB / 0.7666 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.337, allocations: 8.016 kB / 0.7666 GB, free: 1.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/1.337, allocations: 448.9 kB / 0.767 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.34, allocations: 0.5442 MB / 0.7676 GB, free: 92 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/1.342, allocations: 1.755 MB / 0.7693 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/1.343, allocations: 1.054 MB / 0.7703 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001581/1.345, allocations: 0.5596 MB / 0.7709 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/1.345, allocations: 119.4 kB / 0.771 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/1.345, allocations: 4 kB / 0.771 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.05964/1.405, allocations: 37.81 MB / 0.8079 GB, free: 6.789 MB / 0.5919 GB 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)