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.001622/0.001622, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002879/0.002879, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.683/1.683, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3723/0.3723, allocations: 37.99 MB / 307.4 MB, free: 10.12 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.001939/0.00194, allocations: 75.19 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1665, allocations: 56.46 MB / 431.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 1.006/1.172, allocations: 218.9 MB / 0.6349 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/1.187, allocations: 11 MB / 0.6457 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/1.189, allocations: 37.69 kB / 0.6457 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/1.191, allocations: 435.7 kB / 0.6461 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/1.201, allocations: 2.815 MB / 0.6489 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01478/1.216, allocations: 4.333 MB / 0.6531 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004866/1.22, allocations: 2.656 MB / 0.6557 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/1.222, allocations: 0.7305 MB / 0.6564 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/1.225, allocations: 1.029 MB / 0.6574 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/1.227, allocations: 1.195 MB / 0.6586 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002535/1.228, allocations: 113.8 kB / 0.6587 GB, free: 16.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02169/1.249, allocations: 8.41 MB / 0.6669 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/1.251, allocations: 472.6 kB / 0.6673 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/1.252, allocations: 0.6043 MB / 0.6679 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02243/1.275, allocations: 5.898 MB / 0.6737 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/1.275, allocations: 0.75 kB / 0.6737 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.886e-06/1.275, allocations: 0 / 0.6737 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.875e-05/1.275, allocations: 1.5 kB / 0.6737 GB, free: 16.48 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.01151/1.286, allocations: 2.276 MB / 0.6759 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.668e-05/1.286, allocations: 14.27 kB / 0.6759 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/1.288, allocations: 117.2 kB / 0.676 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/1.29, allocations: 0.7074 MB / 0.6767 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.437e-05/1.29, allocations: 57.84 kB / 0.6768 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/1.29, allocations: 72.92 kB / 0.6769 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/1.293, allocations: 1.265 MB / 0.6781 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/1.293, allocations: 3.953 kB / 0.6781 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/1.293, allocations: 31.39 kB / 0.6781 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/1.294, allocations: 74.91 kB / 0.6782 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/1.296, allocations: 1.405 MB / 0.6796 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/1.307, allocations: 4.76 MB / 0.6842 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/1.309, allocations: 0.8684 MB / 0.6851 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/1.31, allocations: 410.9 kB / 0.6855 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/1.311, allocations: 1.395 MB / 0.6868 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/1.311, allocations: 48.83 kB / 0.6869 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 3.276e-06/1.311, allocations: 0 / 0.6869 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.002916/1.314, allocations: 1.261 MB / 0.6881 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/1.314, allocations: 108.6 kB / 0.6882 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/1.316, allocations: 0.9758 MB / 0.6892 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/1.316, allocations: 40.89 kB / 0.6892 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/1.317, allocations: 447.6 kB / 0.6896 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/1.317, allocations: 197.9 kB / 0.6898 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004775/1.318, allocations: 196.9 kB / 0.69 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.318, allocations: 344.1 kB / 0.6903 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009574/1.319, allocations: 483.2 kB / 0.6908 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.32, allocations: 0.6059 MB / 0.6914 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/1.322, allocations: 1.021 MB / 0.6924 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/1.322, allocations: 2.312 kB / 0.6924 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002788/1.324, allocations: 1.283 MB / 0.6936 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/1.324, allocations: 5.75 kB / 0.6936 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.324, allocations: 5.062 kB / 0.6936 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-05/1.324, allocations: 6.156 kB / 0.6936 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009927/1.325, allocations: 207.8 kB / 0.6938 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-05/1.326, allocations: 8.781 kB / 0.6939 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/1.327, allocations: 131.6 kB / 0.694 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/1.327, allocations: 65.64 kB / 0.694 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001405/1.329, allocations: 0.6627 MB / 0.6947 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001007/1.33, allocations: 0.594 MB / 0.6953 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001708/1.331, allocations: 0.9836 MB / 0.6962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.118e-05/1.331, allocations: 0 / 0.6962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002506/1.334, allocations: 1.233 MB / 0.6974 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.334, allocations: 8 kB / 0.6974 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.334, allocations: 4 kB / 0.6974 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.334, allocations: 9 kB / 0.6975 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/1.335, allocations: 200.1 kB / 0.6976 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/1.335, allocations: 15.83 kB / 0.6977 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.336, allocations: 83.56 kB / 0.6977 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/1.336, allocations: 64.7 kB / 0.6978 GB, free: 6.449 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.0004488/1.337, allocations: 228.7 kB / 0.698 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/1.337, allocations: 95.88 kB / 0.6981 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/1.34, allocations: 1.267 MB / 0.6993 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.34, allocations: 9 kB / 0.6994 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.34, allocations: 0 / 0.6994 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.34, allocations: 3.984 kB / 0.6994 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/1.345, allocations: 2.053 MB / 0.7014 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/1.345, allocations: 4 kB / 0.7014 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/1.345, allocations: 129.1 kB / 0.7015 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/1.345, allocations: 4 kB / 0.7015 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/1.346, allocations: 26.66 kB / 0.7015 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.696e-05/1.346, allocations: 11.59 kB / 0.7015 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.346, allocations: 8.859 kB / 0.7015 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/1.348, allocations: 1.076 MB / 0.7026 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005882/1.348, allocations: 187.8 kB / 0.7028 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/1.349, allocations: 16.8 kB / 0.7028 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.35, allocations: 49.61 kB / 0.7028 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/1.35, allocations: 54.2 kB / 0.7029 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.35, allocations: 51.97 kB / 0.7029 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001206/1.351, allocations: 0.6989 MB / 0.7036 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.351, allocations: 1.203 kB / 0.7036 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006415/1.358, allocations: 1.183 MB / 0.7048 GB, free: 232 kB / 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.0063/1.364, allocations: 1.196 MB / 0.7059 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004296/1.368, allocations: 1.742 MB / 0.7076 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.368, allocations: 4.812 kB / 0.7076 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008343/1.369, allocations: 458.7 kB / 0.7081 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/1.373, allocations: 0.5313 MB / 0.7086 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/1.377, allocations: 2.082 MB / 0.7106 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.378, allocations: 1.048 MB / 0.7117 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002425/1.381, allocations: 0.5618 MB / 0.7122 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/1.381, allocations: 123.4 kB / 0.7123 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of SimCode: time 2.796e-06/1.381, allocations: 0 / 0.7123 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of Templates: time 0.06891/1.45, allocations: 37.12 MB / 0.7486 GB, free: 3.691 MB / 0.545 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)