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.0009893/0.0009893, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00126/0.00126, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.2906/0.2906, allocations: 40 MB / 310.4 MB, free: 9.801 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.0005218/0.0005221, allocations: 22.97 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1062, allocations: 57.96 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.3432/0.4495, allocations: 171 MB / 0.5935 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.4637, allocations: 11.37 MB / 0.6046 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007294/0.4644, allocations: 27.75 kB / 0.6047 GB, free: 12.8 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.4655, allocations: 382.2 kB / 0.605 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006745/0.4722, allocations: 2.337 MB / 0.6073 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007387/0.4796, allocations: 2.929 MB / 0.6102 GB, free: 7.176 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002549/0.4822, allocations: 1.426 MB / 0.6116 GB, free: 5.746 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.4833, allocations: 0.6025 MB / 0.6121 GB, free: 5.133 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.4849, allocations: 0.8687 MB / 0.613 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.4863, allocations: 0.7908 MB / 0.6138 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.4865, allocations: 52 kB / 0.6138 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.4984, allocations: 6.745 MB / 0.6204 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008577/0.4993, allocations: 379 kB / 0.6208 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.4998, allocations: 229.2 kB / 0.621 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007086/0.5069, allocations: 3.411 MB / 0.6243 GB, free: 8.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.5069, allocations: 0 / 0.6243 GB, free: 8.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5069, allocations: 0 / 0.6243 GB, free: 8.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.794e-05/0.5069, allocations: 0 / 0.6243 GB, free: 8.645 MB / 494.1 MB 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.004737/0.5117, allocations: 1.957 MB / 0.6262 GB, free: 6.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5117, allocations: 16.02 kB / 0.6262 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004328/0.5122, allocations: 114.8 kB / 0.6264 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5134, allocations: 0.6836 MB / 0.627 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.5134, allocations: 53.98 kB / 0.6271 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5136, allocations: 71.98 kB / 0.6271 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.5156, allocations: 1.255 MB / 0.6284 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5156, allocations: 4 kB / 0.6284 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.5158, allocations: 31.98 kB / 0.6284 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.5159, allocations: 77.95 kB / 0.6285 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.518, allocations: 1.413 MB / 0.6299 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2149/0.7329, allocations: 4.803 MB / 0.6345 GB, free: 65.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.7343, allocations: 0.8693 MB / 0.6354 GB, free: 65.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/0.7348, allocations: 0.7444 MB / 0.6361 GB, free: 64.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.7349, allocations: 49.16 kB / 0.6362 GB, free: 64.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=55): time 2.294e-06/0.7349, allocations: 0 / 0.6362 GB, free: 64.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=55): time 0.002041/0.7369, allocations: 1.273 MB / 0.6374 GB, free: 64.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.737, allocations: 111 kB / 0.6375 GB, free: 64.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.738, allocations: 0.9669 MB / 0.6385 GB, free: 64.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/0.7381, allocations: 37.7 kB / 0.6385 GB, free: 64.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.7383, allocations: 448.6 kB / 0.6389 GB, free: 64.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.7384, allocations: 195.5 kB / 0.6391 GB, free: 64.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.7385, allocations: 18.19 kB / 0.6391 GB, free: 64.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.7385, allocations: 338.4 kB / 0.6394 GB, free: 63.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/0.7392, allocations: 472.9 kB / 0.6399 GB, free: 63.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007121/0.74, allocations: 0.595 MB / 0.6405 GB, free: 63.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.7407, allocations: 0.5422 MB / 0.641 GB, free: 63.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.7407, allocations: 0 / 0.641 GB, free: 63.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001948/0.7427, allocations: 1.272 MB / 0.6423 GB, free: 63.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.7429, allocations: 1.14 MB / 0.6434 GB, free: 62.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.7429, allocations: 3.219 kB / 0.6434 GB, free: 62.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.743, allocations: 6.312 kB / 0.6434 GB, free: 62.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/0.7438, allocations: 209.9 kB / 0.6436 GB, free: 62.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.7438, allocations: 18.52 kB / 0.6436 GB, free: 62.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008469/0.7447, allocations: 130.7 kB / 0.6437 GB, free: 62.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.7448, allocations: 61.33 kB / 0.6438 GB, free: 62.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.7448, allocations: 4.531 kB / 0.6438 GB, free: 62.52 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001647/0.7464, allocations: 1.129 MB / 0.6449 GB, free: 62.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7465, allocations: 4.406 kB / 0.6449 GB, free: 62.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.7465, allocations: 7.094 kB / 0.6449 GB, free: 62.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/0.7473, allocations: 212.5 kB / 0.6451 GB, free: 62.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7473, allocations: 9.25 kB / 0.6451 GB, free: 62.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/0.748, allocations: 113.2 kB / 0.6452 GB, free: 62.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/0.7481, allocations: 62.17 kB / 0.6453 GB, free: 62.44 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004957/0.7486, allocations: 360 kB / 0.6456 GB, free: 62.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.7487, allocations: 98.44 kB / 0.6457 GB, free: 62.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.7509, allocations: 1.293 MB / 0.647 GB, free: 62.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.7509, allocations: 6.062 kB / 0.647 GB, free: 62.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7509, allocations: 0 / 0.647 GB, free: 62.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.7509, allocations: 2.531 kB / 0.647 GB, free: 62.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.7534, allocations: 2.048 MB / 0.649 GB, free: 61.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.7534, allocations: 3.719 kB / 0.649 GB, free: 61.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.754, allocations: 138.9 kB / 0.6491 GB, free: 61.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.754, allocations: 4.469 kB / 0.6491 GB, free: 61.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.754, allocations: 20.66 kB / 0.6491 GB, free: 61.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.754, allocations: 4.625 kB / 0.6491 GB, free: 61.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7541, allocations: 9.266 kB / 0.6492 GB, free: 61.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.7555, allocations: 1.175 MB / 0.6503 GB, free: 61.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.7557, allocations: 222.5 kB / 0.6505 GB, free: 61.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.7559, allocations: 14.95 kB / 0.6505 GB, free: 61.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/0.7566, allocations: 53.98 kB / 0.6506 GB, free: 61.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.7567, allocations: 50.75 kB / 0.6506 GB, free: 61.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/0.7568, allocations: 52.44 kB / 0.6507 GB, free: 61.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007456/0.7576, allocations: 0.6893 MB / 0.6514 GB, free: 61.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7576, allocations: 1.859 kB / 0.6514 GB, free: 61.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002534/0.7601, allocations: 1.18 MB / 0.6525 GB, free: 60.99 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00233/0.7625, allocations: 1.151 MB / 0.6536 GB, free: 60.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.7653, allocations: 1.623 MB / 0.6552 GB, free: 60.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7654, allocations: 2.75 kB / 0.6552 GB, free: 60.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.7661, allocations: 461.2 kB / 0.6557 GB, free: 60.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.7683, allocations: 0.4937 MB / 0.6561 GB, free: 60.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.7709, allocations: 2.02 MB / 0.6581 GB, free: 59.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.7715, allocations: 1.076 MB / 0.6592 GB, free: 59.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001955/0.7734, allocations: 0.5406 MB / 0.6597 GB, free: 59.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.7739, allocations: 124.3 kB / 0.6598 GB, free: 59.06 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7739, allocations: 0 / 0.6598 GB, free: 59.06 MB / 494.1 MB Notification: Performance of Templates: time 0.04316/0.817, allocations: 34.85 MB / 0.6938 GB, free: 36.95 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: