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.00174/0.00174, allocations: 99.62 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.00306/0.003061, allocations: 177.3 kB / 15.95 MB, free: 216 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.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3638/0.3638, allocations: 38.04 MB / 308.4 MB, free: 10.37 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.0006209/0.000621, allocations: 12 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.146, allocations: 57.53 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5191/0.6651, allocations: 171 MB / 0.5908 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.6833, allocations: 11.37 MB / 0.6019 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.6846, allocations: 35.69 kB / 0.6019 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.6862, allocations: 386.2 kB / 0.6023 GB, free: 1.039 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.6963, allocations: 2.334 MB / 0.6045 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009853/0.7062, allocations: 2.92 MB / 0.6074 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003023/0.7092, allocations: 1.426 MB / 0.6088 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.7104, allocations: 0.6042 MB / 0.6094 GB, free: 9.75 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.7123, allocations: 0.8609 MB / 0.6102 GB, free: 8.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.7137, allocations: 0.7985 MB / 0.611 GB, free: 8.086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.7139, allocations: 52 kB / 0.611 GB, free: 8.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01405/0.7279, allocations: 6.745 MB / 0.6176 GB, free: 1.281 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.7291, allocations: 375 kB / 0.618 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006054/0.7297, allocations: 225.3 kB / 0.6182 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009614/0.7393, allocations: 3.419 MB / 0.6215 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7394, allocations: 0 / 0.6215 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.7394, allocations: 0 / 0.6215 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.039e-05/0.7394, allocations: 0 / 0.6215 GB, free: 13.26 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.006173/0.7456, allocations: 1.96 MB / 0.6235 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.7457, allocations: 8.031 kB / 0.6235 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/0.7463, allocations: 129.9 kB / 0.6236 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.7475, allocations: 0.6798 MB / 0.6243 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.099e-05/0.7476, allocations: 65.95 kB / 0.6243 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.7477, allocations: 67.98 kB / 0.6244 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.7499, allocations: 1.247 MB / 0.6256 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.7499, allocations: 7.938 kB / 0.6256 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.75, allocations: 31.98 kB / 0.6256 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.7501, allocations: 77.95 kB / 0.6257 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.7524, allocations: 1.413 MB / 0.6271 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008522/0.7609, allocations: 4.814 MB / 0.6318 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.7626, allocations: 0.8634 MB / 0.6326 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007645/0.7634, allocations: 0.7408 MB / 0.6334 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.7634, allocations: 47.12 kB / 0.6334 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=55): time 9.568e-06/0.7634, allocations: 0 / 0.6334 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of matching and sorting (n=55): time 0.3097/1.073, allocations: 1.27 MB / 0.6346 GB, free: 155.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/1.073, allocations: 112.9 kB / 0.6348 GB, free: 155.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/1.074, allocations: 0.9604 MB / 0.6357 GB, free: 155.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/1.074, allocations: 41.83 kB / 0.6357 GB, free: 155.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/1.075, allocations: 449.2 kB / 0.6362 GB, free: 155.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.075, allocations: 201.9 kB / 0.6364 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/1.075, allocations: 12.97 kB / 0.6364 GB, free: 155.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/1.075, allocations: 339.2 kB / 0.6367 GB, free: 154.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007038/1.076, allocations: 475.1 kB / 0.6371 GB, free: 154.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007826/1.077, allocations: 0.5944 MB / 0.6377 GB, free: 154.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/1.077, allocations: 0.5385 MB / 0.6382 GB, free: 154.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/1.077, allocations: 10.28 kB / 0.6383 GB, free: 154.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002051/1.079, allocations: 1.266 MB / 0.6395 GB, free: 154.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002248/1.08, allocations: 1.137 MB / 0.6406 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.08, allocations: 3.281 kB / 0.6406 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.08, allocations: 6.625 kB / 0.6406 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/1.081, allocations: 209.5 kB / 0.6408 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.081, allocations: 15.45 kB / 0.6408 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/1.082, allocations: 134.8 kB / 0.641 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/1.082, allocations: 59.05 kB / 0.641 GB, free: 153.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/1.082, allocations: 5.641 kB / 0.641 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002198/1.084, allocations: 1.128 MB / 0.6421 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.084, allocations: 3 kB / 0.6421 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/1.084, allocations: 8.969 kB / 0.6421 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/1.085, allocations: 210.6 kB / 0.6423 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.085, allocations: 9.656 kB / 0.6423 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/1.085, allocations: 112.3 kB / 0.6424 GB, free: 153.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.086, allocations: 62.83 kB / 0.6425 GB, free: 153.2 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.0006203/1.086, allocations: 370.4 kB / 0.6429 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.086, allocations: 94.84 kB / 0.643 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/1.089, allocations: 1.288 MB / 0.6442 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.089, allocations: 6.344 kB / 0.6442 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.089, allocations: 2.562 kB / 0.6442 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.089, allocations: 3.281 kB / 0.6442 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/1.091, allocations: 2.053 MB / 0.6462 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.091, allocations: 2.906 kB / 0.6462 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/1.092, allocations: 129.9 kB / 0.6464 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.092, allocations: 7.766 kB / 0.6464 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/1.092, allocations: 24.62 kB / 0.6464 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.092, allocations: 10.78 kB / 0.6464 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.092, allocations: 7.281 kB / 0.6464 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/1.093, allocations: 1.18 MB / 0.6476 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/1.094, allocations: 211.5 kB / 0.6478 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.094, allocations: 11.22 kB / 0.6478 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/1.094, allocations: 57.84 kB / 0.6478 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/1.095, allocations: 50.47 kB / 0.6479 GB, free: 150.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/1.095, allocations: 49.69 kB / 0.6479 GB, free: 150.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007763/1.095, allocations: 0.6877 MB / 0.6486 GB, free: 150.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.095, allocations: 3.719 kB / 0.6486 GB, free: 150.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003127/1.099, allocations: 1.181 MB / 0.6497 GB, free: 150.2 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.002772/1.101, allocations: 1.155 MB / 0.6509 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/1.104, allocations: 1.618 MB / 0.6525 GB, free: 149.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.104, allocations: 3.781 kB / 0.6525 GB, free: 149.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006156/1.105, allocations: 460.6 kB / 0.6529 GB, free: 149.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/1.107, allocations: 0.4922 MB / 0.6534 GB, free: 149.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/1.109, allocations: 2.014 MB / 0.6553 GB, free: 148.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/1.11, allocations: 1.075 MB / 0.6564 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001671/1.111, allocations: 0.5453 MB / 0.6569 GB, free: 147.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/1.112, allocations: 131.5 kB / 0.6571 GB, free: 147.3 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/1.112, allocations: 0 / 0.6571 GB, free: 147.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06615/1.178, allocations: 34.85 MB / 0.6911 GB, free: 135.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: