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.005292/0.005292, allocations: 108.9 kB / 15.74 MB, free: 6.441 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.001293/0.001293, allocations: 194.8 kB / 16.67 MB, free: 6.355 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3352/0.3352, allocations: 39.94 MB / 309.8 MB, free: 9.504 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.001415/0.001415, allocations: 68.33 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3433, allocations: 56.87 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.7322/1.076, allocations: 220.9 MB / 0.6968 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02022/1.096, allocations: 10.91 MB / 0.7074 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/1.098, allocations: 30.84 kB / 0.7075 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/1.1, allocations: 489.1 kB / 0.7079 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/1.111, allocations: 3.062 MB / 0.7109 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01691/1.128, allocations: 4.722 MB / 0.7155 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005461/1.134, allocations: 2.641 MB / 0.7181 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/1.135, allocations: 0.7426 MB / 0.7188 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/1.138, allocations: 1.011 MB / 0.7198 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/1.14, allocations: 1.131 MB / 0.7209 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/1.14, allocations: 111.5 kB / 0.721 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02163/1.162, allocations: 8.388 MB / 0.7292 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/1.163, allocations: 470.2 kB / 0.7297 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/1.164, allocations: 0.607 MB / 0.7303 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02142/1.186, allocations: 5.739 MB / 0.7359 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/1.186, allocations: 4 kB / 0.7359 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/1.186, allocations: 0 / 0.7359 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.81e-05/1.186, allocations: 0 / 0.7359 GB, free: 2.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.008022/1.194, allocations: 2.281 MB / 0.7381 GB, free: 120 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/1.194, allocations: 11.89 kB / 0.7381 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008658/1.195, allocations: 119.6 kB / 0.7382 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/1.197, allocations: 0.751 MB / 0.739 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/1.197, allocations: 56.58 kB / 0.739 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/1.197, allocations: 70.11 kB / 0.7391 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/1.199, allocations: 1.255 MB / 0.7403 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.199, allocations: 4 kB / 0.7403 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/1.199, allocations: 33.7 kB / 0.7404 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/1.199, allocations: 80.47 kB / 0.7404 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/1.202, allocations: 1.405 MB / 0.7418 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009208/1.211, allocations: 4.759 MB / 0.7465 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/1.213, allocations: 0.8664 MB / 0.7473 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/1.213, allocations: 406.3 kB / 0.7477 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/1.215, allocations: 1.396 MB / 0.749 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.607e-05/1.215, allocations: 47.11 kB / 0.7491 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=55): time 2.495e-06/1.215, allocations: 0 / 0.7491 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55): time 0.002514/1.218, allocations: 1.269 MB / 0.7503 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/1.218, allocations: 107.4 kB / 0.7504 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/1.219, allocations: 0.9738 MB / 0.7514 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/1.219, allocations: 37.7 kB / 0.7514 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/1.219, allocations: 450.6 kB / 0.7519 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.22, allocations: 193.5 kB / 0.752 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/1.22, allocations: 190.5 kB / 0.7522 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.22, allocations: 352.4 kB / 0.7526 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008416/1.221, allocations: 480.5 kB / 0.753 GB, free: 284 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.222, allocations: 0.6011 MB / 0.7536 GB, free: 15.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/1.224, allocations: 1.029 MB / 0.7546 GB, free: 14.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.224, allocations: 0 / 0.7546 GB, free: 14.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002498/1.227, allocations: 1.284 MB / 0.7559 GB, free: 13.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.227, allocations: 6.531 kB / 0.7559 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/1.227, allocations: 4 kB / 0.7559 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/1.227, allocations: 8 kB / 0.7559 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/1.228, allocations: 202.1 kB / 0.7561 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/1.228, allocations: 8.375 kB / 0.7561 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.229, allocations: 122.6 kB / 0.7562 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/1.229, allocations: 63.91 kB / 0.7563 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/1.23, allocations: 0.6658 MB / 0.7569 GB, free: 12.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009195/1.231, allocations: 0.5893 MB / 0.7575 GB, free: 11.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001614/1.232, allocations: 0.9823 MB / 0.7584 GB, free: 10.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/1.232, allocations: 0 / 0.7584 GB, free: 10.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.00236/1.235, allocations: 1.232 MB / 0.7596 GB, free: 9.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.235, allocations: 8 kB / 0.7597 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.235, allocations: 7.984 kB / 0.7597 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/1.235, allocations: 11.94 kB / 0.7597 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/1.236, allocations: 201.2 kB / 0.7599 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.236, allocations: 15.17 kB / 0.7599 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/1.237, allocations: 67.42 kB / 0.7599 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.237, allocations: 59.97 kB / 0.76 GB, free: 9.008 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.0004413/1.237, allocations: 233.5 kB / 0.7602 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/1.237, allocations: 94.88 kB / 0.7603 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/1.24, allocations: 1.268 MB / 0.7615 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.24, allocations: 8 kB / 0.7616 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.24, allocations: 4 kB / 0.7616 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.24, allocations: 3.984 kB / 0.7616 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/1.243, allocations: 2.052 MB / 0.7636 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.243, allocations: 4 kB / 0.7636 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/1.244, allocations: 130.2 kB / 0.7637 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.244, allocations: 4 kB / 0.7637 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/1.244, allocations: 31.36 kB / 0.7637 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/1.244, allocations: 8 kB / 0.7637 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.244, allocations: 4 kB / 0.7637 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/1.246, allocations: 1.079 MB / 0.7648 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/1.246, allocations: 187.8 kB / 0.765 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/1.246, allocations: 20 kB / 0.765 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007048/1.247, allocations: 31.97 kB / 0.765 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.247, allocations: 55.69 kB / 0.7651 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.247, allocations: 51.95 kB / 0.7651 GB, free: 3.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009401/1.248, allocations: 0.6981 MB / 0.7658 GB, free: 2.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/1.248, allocations: 0 / 0.7658 GB, free: 2.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003602/1.252, allocations: 1.186 MB / 0.767 GB, free: 1.75 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.00335/1.255, allocations: 1.195 MB / 0.7681 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003229/1.258, allocations: 1.618 MB / 0.7697 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.258, allocations: 16.08 kB / 0.7697 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000764/1.259, allocations: 446.9 kB / 0.7702 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/1.262, allocations: 0.5513 MB / 0.7707 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/1.265, allocations: 1.756 MB / 0.7724 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/1.265, allocations: 1.056 MB / 0.7734 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001757/1.267, allocations: 0.5466 MB / 0.774 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/1.268, allocations: 123.4 kB / 0.7741 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/1.268, allocations: 0 / 0.7741 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.06055/1.328, allocations: 37.46 MB / 0.8107 GB, free: 5.129 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)