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.008464/0.008464, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001502/0.001502, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.651/1.651, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2143/0.2143, allocations: 38.01 MB / 307.9 MB, free: 5.988 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.001434/0.001434, allocations: 77.61 kB / 433 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 56.47 MB / 489.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.6379/0.7809, allocations: 220.9 MB / 0.6937 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.8001, allocations: 10.91 MB / 0.7043 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.8017, allocations: 27.81 kB / 0.7043 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.8038, allocations: 0.4893 MB / 0.7048 GB, free: 5.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.8155, allocations: 3.081 MB / 0.7078 GB, free: 2.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.8301, allocations: 4.742 MB / 0.7125 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004467/0.8346, allocations: 2.648 MB / 0.7151 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.836, allocations: 0.7374 MB / 0.7158 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.8381, allocations: 1.036 MB / 0.7168 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.8403, allocations: 1.133 MB / 0.7179 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.8405, allocations: 112 kB / 0.718 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.8583, allocations: 8.387 MB / 0.7262 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009465/0.8593, allocations: 474.8 kB / 0.7266 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.8604, allocations: 0.6029 MB / 0.7272 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.8768, allocations: 5.741 MB / 0.7328 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.8768, allocations: 0 / 0.7328 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.855e-06/0.8768, allocations: 0 / 0.7328 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.633e-05/0.8769, allocations: 0 / 0.7328 GB, free: 8.934 MB / 0.5762 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.007613/0.8846, allocations: 2.276 MB / 0.7351 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.8846, allocations: 11.89 kB / 0.7351 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.8853, allocations: 118.7 kB / 0.7352 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.8872, allocations: 0.7495 MB / 0.7359 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/0.8873, allocations: 57.98 kB / 0.736 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.8875, allocations: 67.98 kB / 0.736 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.8902, allocations: 1.267 MB / 0.7373 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.8903, allocations: 0 / 0.7373 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.8904, allocations: 31.98 kB / 0.7373 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.8905, allocations: 81.94 kB / 0.7374 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.8931, allocations: 1.409 MB / 0.7388 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4047/1.298, allocations: 4.754 MB / 0.7434 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/1.3, allocations: 0.8633 MB / 0.7442 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008563/1.301, allocations: 414.4 kB / 0.7446 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.302, allocations: 1.401 MB / 0.746 GB, free: 99.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/1.303, allocations: 42.3 kB / 0.746 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=55): time 3.075e-06/1.303, allocations: 0 / 0.746 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55): time 0.003128/1.306, allocations: 1.263 MB / 0.7473 GB, free: 99.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/1.306, allocations: 109.4 kB / 0.7474 GB, free: 98.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/1.308, allocations: 0.9691 MB / 0.7483 GB, free: 98.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/1.308, allocations: 43.36 kB / 0.7484 GB, free: 98.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/1.308, allocations: 450.6 kB / 0.7488 GB, free: 98.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/1.308, allocations: 194.8 kB / 0.749 GB, free: 98.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004385/1.309, allocations: 198 kB / 0.7492 GB, free: 98.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.309, allocations: 337.8 kB / 0.7495 GB, free: 98.15 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/1.31, allocations: 486.4 kB / 0.75 GB, free: 98.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/1.311, allocations: 0.605 MB / 0.7506 GB, free: 98.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/1.313, allocations: 1.016 MB / 0.7515 GB, free: 97.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.313, allocations: 2.438 kB / 0.7515 GB, free: 97.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00295/1.316, allocations: 1.288 MB / 0.7528 GB, free: 97.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.316, allocations: 7.734 kB / 0.7528 GB, free: 97.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.316, allocations: 3.062 kB / 0.7528 GB, free: 97.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.966e-05/1.316, allocations: 7.25 kB / 0.7528 GB, free: 97.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.317, allocations: 212.5 kB / 0.753 GB, free: 97.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-05/1.317, allocations: 9.516 kB / 0.753 GB, free: 97.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.318, allocations: 111.5 kB / 0.7531 GB, free: 97.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/1.319, allocations: 58.59 kB / 0.7532 GB, free: 97.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001541/1.32, allocations: 0.6661 MB / 0.7538 GB, free: 97.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001182/1.321, allocations: 0.5902 MB / 0.7544 GB, free: 97.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001841/1.323, allocations: 0.9828 MB / 0.7554 GB, free: 97.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/1.323, allocations: 0 / 0.7554 GB, free: 97.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.00245/1.326, allocations: 1.236 MB / 0.7566 GB, free: 97.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.326, allocations: 5.312 kB / 0.7566 GB, free: 97.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.326, allocations: 6.125 kB / 0.7566 GB, free: 97.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.326, allocations: 10.62 kB / 0.7566 GB, free: 97.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000937/1.327, allocations: 205.8 kB / 0.7568 GB, free: 97.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/1.327, allocations: 12.5 kB / 0.7568 GB, free: 97.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009331/1.328, allocations: 74.72 kB / 0.7569 GB, free: 97.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.328, allocations: 60.38 kB / 0.7569 GB, free: 97.25 MB / 0.5762 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.0004184/1.328, allocations: 232.1 kB / 0.7572 GB, free: 97.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/1.329, allocations: 99.28 kB / 0.7573 GB, free: 97.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/1.331, allocations: 1.264 MB / 0.7585 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.331, allocations: 8.875 kB / 0.7585 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.331, allocations: 3.5 kB / 0.7585 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.331, allocations: 10.19 kB / 0.7585 GB, free: 96.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/1.334, allocations: 2.054 MB / 0.7605 GB, free: 96.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.334, allocations: 2.875 kB / 0.7605 GB, free: 96.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/1.335, allocations: 128.6 kB / 0.7606 GB, free: 96.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/1.335, allocations: 6.25 kB / 0.7607 GB, free: 96.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/1.335, allocations: 23.3 kB / 0.7607 GB, free: 96.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/1.335, allocations: 12.14 kB / 0.7607 GB, free: 96.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.335, allocations: 3.094 kB / 0.7607 GB, free: 96.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/1.337, allocations: 1.077 MB / 0.7617 GB, free: 96.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/1.337, allocations: 184.5 kB / 0.7619 GB, free: 96.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/1.337, allocations: 12.03 kB / 0.7619 GB, free: 96.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/1.338, allocations: 43.44 kB / 0.762 GB, free: 96.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/1.338, allocations: 48.12 kB / 0.762 GB, free: 96.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/1.338, allocations: 54.08 kB / 0.7621 GB, free: 96.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00105/1.339, allocations: 0.6957 MB / 0.7627 GB, free: 95.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.442e-06/1.339, allocations: 0.875 kB / 0.7628 GB, free: 95.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003688/1.343, allocations: 1.193 MB / 0.7639 GB, free: 95.92 MB / 0.5762 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.003831/1.347, allocations: 1.197 MB / 0.7651 GB, free: 95.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003097/1.35, allocations: 1.614 MB / 0.7667 GB, free: 95.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/1.35, allocations: 0.9688 kB / 0.7667 GB, free: 95.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007242/1.351, allocations: 458.9 kB / 0.7671 GB, free: 95.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.353, allocations: 0.5408 MB / 0.7676 GB, free: 95.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/1.357, allocations: 1.755 MB / 0.7693 GB, free: 95.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007682/1.357, allocations: 1.055 MB / 0.7704 GB, free: 94.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002001/1.359, allocations: 0.5619 MB / 0.7709 GB, free: 94.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/1.36, allocations: 122.3 kB / 0.771 GB, free: 94.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/1.36, allocations: 0.9062 kB / 0.771 GB, free: 94.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.05535/1.415, allocations: 37.46 MB / 0.8076 GB, free: 67.36 MB / 0.5762 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)