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.001349/0.001349, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.877/1.877, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.4637/0.4637, allocations: 39.93 MB / 309.7 MB, free: 9.273 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.001726/0.001726, allocations: 71.89 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.151, allocations: 56.89 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 1.026/1.177, allocations: 220.8 MB / 0.64 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01471/1.192, allocations: 10.9 MB / 0.6506 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/1.193, allocations: 27.53 kB / 0.6507 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/1.195, allocations: 490.1 kB / 0.6511 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/1.206, allocations: 3.067 MB / 0.6541 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01806/1.224, allocations: 4.724 MB / 0.6587 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00522/1.229, allocations: 2.643 MB / 0.6613 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/1.231, allocations: 0.7416 MB / 0.662 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/1.234, allocations: 1.003 MB / 0.663 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003595/1.237, allocations: 1.137 MB / 0.6641 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004685/1.238, allocations: 111.5 kB / 0.6642 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02431/1.262, allocations: 8.157 MB / 0.6722 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002164/1.264, allocations: 472.7 kB / 0.6726 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002202/1.267, allocations: 0.603 MB / 0.6732 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02808/1.295, allocations: 5.725 MB / 0.6788 GB, free: 356 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/1.295, allocations: 0.9062 kB / 0.6788 GB, free: 356 kB / 494.1 MB Notification: Performance of FrontEnd: time 3.065e-06/1.295, allocations: 0 / 0.6788 GB, free: 356 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.293e-05/1.295, allocations: 0.9062 kB / 0.6788 GB, free: 356 kB / 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.01101/1.306, allocations: 2.272 MB / 0.6811 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/1.306, allocations: 12.02 kB / 0.6811 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000597/1.307, allocations: 121 kB / 0.6812 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/1.308, allocations: 0.7089 MB / 0.6819 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.256e-05/1.308, allocations: 60.69 kB / 0.6819 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/1.308, allocations: 74.2 kB / 0.682 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/1.311, allocations: 1.262 MB / 0.6832 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/1.311, allocations: 0.5625 kB / 0.6832 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.311, allocations: 34.12 kB / 0.6833 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/1.311, allocations: 73.48 kB / 0.6833 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/1.314, allocations: 1.407 MB / 0.6847 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009415/1.323, allocations: 4.778 MB / 0.6894 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/1.325, allocations: 0.8569 MB / 0.6902 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/1.326, allocations: 416.5 kB / 0.6906 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/1.327, allocations: 1.398 MB / 0.692 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/1.327, allocations: 47.66 kB / 0.692 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 3.286e-06/1.327, allocations: 3 kB / 0.692 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.002795/1.33, allocations: 1.257 MB / 0.6932 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/1.33, allocations: 107.9 kB / 0.6934 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.332, allocations: 0.9747 MB / 0.6943 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.676e-05/1.332, allocations: 39.52 kB / 0.6943 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/1.332, allocations: 448.5 kB / 0.6948 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/1.332, allocations: 198.2 kB / 0.695 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/1.333, allocations: 199 kB / 0.6951 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.333, allocations: 338.3 kB / 0.6955 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009326/1.334, allocations: 487.4 kB / 0.6959 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/1.335, allocations: 0.6053 MB / 0.6965 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/1.337, allocations: 1.021 MB / 0.6975 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.337, allocations: 2.5 kB / 0.6975 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002476/1.339, allocations: 1.283 MB / 0.6988 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.339, allocations: 4 kB / 0.6988 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.339, allocations: 4 kB / 0.6988 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/1.339, allocations: 9 kB / 0.6988 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009266/1.34, allocations: 204.4 kB / 0.699 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/1.34, allocations: 12.8 kB / 0.699 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009731/1.341, allocations: 116.5 kB / 0.6991 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/1.341, allocations: 59.39 kB / 0.6992 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00132/1.343, allocations: 0.6667 MB / 0.6998 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/1.344, allocations: 0.5925 MB / 0.7004 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001612/1.345, allocations: 0.9874 MB / 0.7014 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/1.345, allocations: 1.609 kB / 0.7014 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002546/1.348, allocations: 1.227 MB / 0.7026 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/1.348, allocations: 9.562 kB / 0.7026 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.348, allocations: 4.969 kB / 0.7026 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/1.348, allocations: 8 kB / 0.7026 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/1.349, allocations: 205.3 kB / 0.7028 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.349, allocations: 11.98 kB / 0.7028 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/1.35, allocations: 73.86 kB / 0.7029 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.35, allocations: 60.8 kB / 0.7029 GB, free: 3.609 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.0004477/1.351, allocations: 225.5 kB / 0.7031 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/1.351, allocations: 102.7 kB / 0.7032 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002748/1.354, allocations: 1.278 MB / 0.7045 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.354, allocations: 8 kB / 0.7045 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.354, allocations: 4.891 kB / 0.7045 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/1.354, allocations: 1.203 kB / 0.7045 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/1.357, allocations: 2.043 MB / 0.7065 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.357, allocations: 4 kB / 0.7065 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/1.358, allocations: 131.1 kB / 0.7066 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.841e-05/1.358, allocations: 8.938 kB / 0.7066 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.864e-05/1.358, allocations: 23.98 kB / 0.7067 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/1.358, allocations: 4 kB / 0.7067 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/1.358, allocations: 8.922 kB / 0.7067 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/1.36, allocations: 1.08 MB / 0.7077 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/1.361, allocations: 191.7 kB / 0.7079 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/1.361, allocations: 12.72 kB / 0.7079 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/1.362, allocations: 36.91 kB / 0.7079 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.362, allocations: 49.31 kB / 0.708 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.362, allocations: 54.81 kB / 0.708 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00114/1.363, allocations: 0.6987 MB / 0.7087 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.013e-06/1.363, allocations: 0.7188 kB / 0.7087 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004315/1.367, allocations: 1.185 MB / 0.7099 GB, free: 12.41 MB / 0.5137 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.003814/1.371, allocations: 1.193 MB / 0.7111 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003518/1.375, allocations: 1.749 MB / 0.7128 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.375, allocations: 0 / 0.7128 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007832/1.375, allocations: 452.3 kB / 0.7132 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.378, allocations: 0.5419 MB / 0.7137 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/1.382, allocations: 1.773 MB / 0.7155 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008429/1.383, allocations: 1.059 MB / 0.7165 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002277/1.385, allocations: 0.5667 MB / 0.717 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/1.385, allocations: 119.4 kB / 0.7172 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/1.385, allocations: 0 / 0.7172 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of Templates: time 0.06097/1.446, allocations: 37.26 MB / 0.7535 GB, free: 15.98 MB / 0.5606 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)