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.006352/0.006353, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001194/0.001194, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.3677/0.3677, allocations: 38 MB / 307.9 MB, free: 10.17 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.001772/0.001772, allocations: 71.88 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4464, allocations: 56.47 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.7733/1.22, allocations: 220.9 MB / 0.6937 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01653/1.236, allocations: 10.92 MB / 0.7043 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/1.239, allocations: 28.31 kB / 0.7044 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/1.24, allocations: 492.1 kB / 0.7048 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01181/1.252, allocations: 3.056 MB / 0.7078 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01728/1.27, allocations: 4.716 MB / 0.7124 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005299/1.275, allocations: 2.642 MB / 0.715 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/1.277, allocations: 0.749 MB / 0.7157 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/1.279, allocations: 1.006 MB / 0.7167 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/1.281, allocations: 1.139 MB / 0.7178 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/1.282, allocations: 111.6 kB / 0.7179 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02156/1.303, allocations: 8.388 MB / 0.7261 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001426/1.305, allocations: 469 kB / 0.7266 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/1.306, allocations: 0.6015 MB / 0.7272 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02481/1.331, allocations: 5.74 MB / 0.7328 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.331, allocations: 0 / 0.7328 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/1.331, allocations: 0 / 0.7328 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.528e-05/1.331, allocations: 0 / 0.7328 GB, free: 4.43 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.008332/1.34, allocations: 2.283 MB / 0.735 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/1.34, allocations: 11.89 kB / 0.735 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/1.34, allocations: 122.7 kB / 0.7351 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/1.342, allocations: 0.7406 MB / 0.7358 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/1.342, allocations: 61.61 kB / 0.7359 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/1.342, allocations: 74.64 kB / 0.736 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/1.345, allocations: 1.258 MB / 0.7372 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/1.345, allocations: 6.625 kB / 0.7372 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/1.345, allocations: 30.03 kB / 0.7372 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/1.345, allocations: 73.95 kB / 0.7373 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/1.348, allocations: 1.401 MB / 0.7387 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009038/1.357, allocations: 4.762 MB / 0.7433 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/1.359, allocations: 0.866 MB / 0.7442 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/1.359, allocations: 418.3 kB / 0.7446 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/1.361, allocations: 1.388 MB / 0.7459 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/1.361, allocations: 47.12 kB / 0.746 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=55): time 3.396e-06/1.361, allocations: 2.531 kB / 0.746 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55): time 0.002678/1.364, allocations: 1.255 MB / 0.7472 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/1.364, allocations: 115.3 kB / 0.7473 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/1.365, allocations: 0.9738 MB / 0.7483 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/1.366, allocations: 37.7 kB / 0.7483 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/1.366, allocations: 456.6 kB / 0.7487 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/1.366, allocations: 196.3 kB / 0.7489 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004136/1.367, allocations: 194.4 kB / 0.7491 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.367, allocations: 341.9 kB / 0.7494 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009216/1.368, allocations: 484.5 kB / 0.7499 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.369, allocations: 0.599 MB / 0.7505 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/1.371, allocations: 1.029 MB / 0.7515 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.371, allocations: 0 / 0.7515 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00263/1.374, allocations: 1.283 MB / 0.7527 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.374, allocations: 8 kB / 0.7527 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.374, allocations: 0 / 0.7527 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.374, allocations: 8 kB / 0.7527 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009754/1.375, allocations: 206 kB / 0.7529 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/1.375, allocations: 12.36 kB / 0.753 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.376, allocations: 118.7 kB / 0.7531 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.376, allocations: 58.59 kB / 0.7531 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/1.377, allocations: 0.6774 MB / 0.7538 GB, free: 14.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/1.378, allocations: 0.5829 MB / 0.7544 GB, free: 13.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001828/1.38, allocations: 0.9862 MB / 0.7553 GB, free: 12.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/1.38, allocations: 0 / 0.7553 GB, free: 12.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002626/1.383, allocations: 1.231 MB / 0.7565 GB, free: 11.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.383, allocations: 4 kB / 0.7565 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.383, allocations: 4 kB / 0.7565 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/1.383, allocations: 8 kB / 0.7565 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/1.384, allocations: 216.5 kB / 0.7567 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/1.384, allocations: 8 kB / 0.7567 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.385, allocations: 71.41 kB / 0.7568 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.385, allocations: 59.97 kB / 0.7569 GB, free: 11 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.0004718/1.385, allocations: 230.4 kB / 0.7571 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/1.386, allocations: 101.4 kB / 0.7572 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/1.389, allocations: 1.265 MB / 0.7584 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.389, allocations: 8 kB / 0.7584 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.389, allocations: 0 / 0.7584 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.389, allocations: 3.984 kB / 0.7584 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/1.392, allocations: 2.046 MB / 0.7604 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.392, allocations: 4 kB / 0.7604 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/1.393, allocations: 131.5 kB / 0.7606 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/1.393, allocations: 8 kB / 0.7606 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/1.393, allocations: 20.23 kB / 0.7606 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/1.393, allocations: 14.47 kB / 0.7606 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.393, allocations: 7.984 kB / 0.7606 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/1.395, allocations: 1.074 MB / 0.7617 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/1.395, allocations: 191.7 kB / 0.7618 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.396, allocations: 19.91 kB / 0.7619 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/1.396, allocations: 31.97 kB / 0.7619 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.397, allocations: 55.03 kB / 0.7619 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.397, allocations: 51.97 kB / 0.762 GB, free: 5.621 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001265/1.398, allocations: 0.6981 MB / 0.7627 GB, free: 4.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/1.398, allocations: 4 kB / 0.7627 GB, free: 4.926 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003826/1.402, allocations: 1.179 MB / 0.7638 GB, free: 3.746 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.004156/1.406, allocations: 1.202 MB / 0.765 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00352/1.41, allocations: 1.616 MB / 0.7666 GB, free: 1.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.41, allocations: 12.14 kB / 0.7666 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009004/1.411, allocations: 456.9 kB / 0.767 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/1.414, allocations: 0.542 MB / 0.7676 GB, free: 68 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/1.417, allocations: 1.759 MB / 0.7693 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009702/1.418, allocations: 1.06 MB / 0.7703 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001967/1.42, allocations: 0.5467 MB / 0.7708 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/1.421, allocations: 127.4 kB / 0.771 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/1.421, allocations: 0 / 0.771 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.06661/1.487, allocations: 37.44 MB / 0.8075 GB, free: 7.133 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)