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.0007708/0.0007706, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.006037/0.006037, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.523/1.523, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.3046/0.3046, allocations: 38.03 MB / 308.8 MB, free: 10.39 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.0005586/0.0005584, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1113, allocations: 57.53 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.7307/0.842, allocations: 217.8 MB / 0.6371 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01324/0.8553, allocations: 11.22 MB / 0.6481 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.8565, allocations: 31.25 kB / 0.6481 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.8579, allocations: 429.9 kB / 0.6485 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00732/0.8653, allocations: 2.714 MB / 0.6512 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.877, allocations: 4.055 MB / 0.6551 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004285/0.8813, allocations: 3.852 MB / 0.6589 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.8823, allocations: 0.625 MB / 0.6595 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.8842, allocations: 0.8646 MB / 0.6604 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.8861, allocations: 1.138 MB / 0.6615 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.8863, allocations: 54.19 kB / 0.6615 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0183/0.9046, allocations: 8.595 MB / 0.6699 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.9061, allocations: 416.7 kB / 0.6703 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002399/0.9085, allocations: 0.5653 MB / 0.6709 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0175/0.926, allocations: 5.815 MB / 0.6765 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.926, allocations: 0.5938 kB / 0.6765 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9261, allocations: 0 / 0.6765 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.058e-05/0.9261, allocations: 1.094 kB / 0.6765 GB, free: 16.36 MB / 0.4981 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.008674/0.9348, allocations: 2.058 MB / 0.6785 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.9349, allocations: 8.938 kB / 0.6786 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009775/0.9359, allocations: 117 kB / 0.6787 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.9374, allocations: 0.704 MB / 0.6794 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/0.9375, allocations: 64.77 kB / 0.6794 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.9377, allocations: 72.11 kB / 0.6795 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.9401, allocations: 1.265 MB / 0.6807 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.9401, allocations: 0 / 0.6807 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.9402, allocations: 34.38 kB / 0.6808 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.992e-05/0.9403, allocations: 77.86 kB / 0.6808 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.9426, allocations: 1.416 MB / 0.6822 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00826/0.9508, allocations: 4.776 MB / 0.6869 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.9525, allocations: 0.8676 MB / 0.6877 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.9532, allocations: 424 kB / 0.6881 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.9547, allocations: 1.405 MB / 0.6895 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.9548, allocations: 47.06 kB / 0.6895 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.825e-06/0.9548, allocations: 0 / 0.6895 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.002377/0.9572, allocations: 1.272 MB / 0.6908 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.9572, allocations: 111.3 kB / 0.6909 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.9587, allocations: 0.972 MB / 0.6918 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.9588, allocations: 42.02 kB / 0.6919 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.9592, allocations: 454.5 kB / 0.6923 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.9595, allocations: 192.7 kB / 0.6925 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.9596, allocations: 67.62 kB / 0.6926 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.9598, allocations: 342.5 kB / 0.6929 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/0.9606, allocations: 479.7 kB / 0.6933 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008491/0.9615, allocations: 0.6058 MB / 0.6939 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.963, allocations: 1.031 MB / 0.6949 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.963, allocations: 3.344 kB / 0.6949 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002403/0.9655, allocations: 1.301 MB / 0.6962 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.9656, allocations: 181 kB / 0.6964 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.9656, allocations: 3.312 kB / 0.6964 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.9657, allocations: 6.781 kB / 0.6964 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/0.9665, allocations: 207.7 kB / 0.6966 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.9665, allocations: 12.98 kB / 0.6966 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.9676, allocations: 127.7 kB / 0.6967 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.9678, allocations: 68.88 kB / 0.6968 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.9678, allocations: 3.344 kB / 0.6968 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00184/0.9696, allocations: 1.137 MB / 0.6979 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.9697, allocations: 3.312 kB / 0.6979 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.602e-06/0.9697, allocations: 6.188 kB / 0.6979 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.9704, allocations: 210.9 kB / 0.6981 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.9705, allocations: 6.156 kB / 0.6981 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008386/0.9713, allocations: 110.1 kB / 0.6982 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.9714, allocations: 65.69 kB / 0.6983 GB, free: 6.719 MB / 0.4981 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.0005532/0.972, allocations: 362.2 kB / 0.6986 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.9722, allocations: 97.62 kB / 0.6987 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.9744, allocations: 1.294 MB / 0.7 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.9744, allocations: 4.719 kB / 0.7 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.9744, allocations: 1.5 kB / 0.7 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.9745, allocations: 3.984 kB / 0.7 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.9773, allocations: 2.063 MB / 0.702 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.9773, allocations: 3.844 kB / 0.702 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.9778, allocations: 136.4 kB / 0.7022 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.9778, allocations: 2.562 kB / 0.7022 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.9779, allocations: 25.8 kB / 0.7022 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.9779, allocations: 6.156 kB / 0.7022 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.9779, allocations: 10.66 kB / 0.7022 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.9794, allocations: 1.087 MB / 0.7033 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.9798, allocations: 210.8 kB / 0.7035 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.98, allocations: 19.33 kB / 0.7035 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007884/0.9808, allocations: 57.14 kB / 0.7035 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.981, allocations: 49.12 kB / 0.7036 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.943e-05/0.9811, allocations: 55.44 kB / 0.7036 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008628/0.9819, allocations: 0.6938 MB / 0.7043 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9819, allocations: 2.906 kB / 0.7043 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003626/0.9856, allocations: 1.186 MB / 0.7055 GB, free: 3.109 MB / 0.4981 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.003634/0.9892, allocations: 1.202 MB / 0.7066 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002699/0.9919, allocations: 1.628 MB / 0.7082 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.9919, allocations: 4 kB / 0.7082 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006957/0.9927, allocations: 462.2 kB / 0.7087 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.9954, allocations: 0.5214 MB / 0.7092 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.9985, allocations: 2.124 MB / 0.7113 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.9992, allocations: 1.057 MB / 0.7123 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001886/1.001, allocations: 0.5543 MB / 0.7128 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/1.001, allocations: 120.1 kB / 0.713 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/1.001, allocations: 0 / 0.713 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.05273/1.054, allocations: 36.1 MB / 0.7482 GB, free: 8.57 MB / 0.545 GB 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: