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.001895/0.001895, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002104/0.002105, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.868/1.868, 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.2+maint.om/package.mo): time 0.4317/0.4317, allocations: 39.93 MB / 309.4 MB, free: 9.34 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.001463/0.001463, allocations: 67.91 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1729, allocations: 56.88 MB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 1.084/1.257, allocations: 219 MB / 0.6376 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01537/1.273, allocations: 10.99 MB / 0.6484 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/1.275, allocations: 33.84 kB / 0.6484 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/1.276, allocations: 441 kB / 0.6488 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009576/1.286, allocations: 2.814 MB / 0.6516 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01279/1.298, allocations: 4.327 MB / 0.6558 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004357/1.303, allocations: 2.655 MB / 0.6584 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/1.304, allocations: 0.7214 MB / 0.6591 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/1.306, allocations: 1.023 MB / 0.6601 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/1.308, allocations: 1.209 MB / 0.6613 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/1.308, allocations: 112 kB / 0.6614 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01977/1.328, allocations: 8.412 MB / 0.6696 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001286/1.33, allocations: 473.6 kB / 0.6701 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/1.331, allocations: 0.6024 MB / 0.6706 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02115/1.352, allocations: 5.895 MB / 0.6764 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/1.352, allocations: 1.375 kB / 0.6764 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.352, allocations: 0 / 0.6764 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.064e-05/1.352, allocations: 0.8438 kB / 0.6764 GB, free: 16.49 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.007945/1.36, allocations: 2.275 MB / 0.6786 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/1.36, allocations: 13.64 kB / 0.6786 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/1.361, allocations: 125.7 kB / 0.6788 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/1.362, allocations: 0.6983 MB / 0.6794 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/1.362, allocations: 59.81 kB / 0.6795 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.363, allocations: 74.92 kB / 0.6796 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/1.365, allocations: 1.26 MB / 0.6808 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/1.365, allocations: 0 / 0.6808 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/1.365, allocations: 37.03 kB / 0.6808 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/1.366, allocations: 74.08 kB / 0.6809 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/1.368, allocations: 1.407 MB / 0.6823 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008436/1.377, allocations: 4.762 MB / 0.6869 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/1.378, allocations: 0.8613 MB / 0.6878 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/1.379, allocations: 420.8 kB / 0.6882 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.38, allocations: 1.393 MB / 0.6895 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/1.38, allocations: 41.34 kB / 0.6896 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.755e-06/1.38, allocations: 0.9688 kB / 0.6896 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.002387/1.383, allocations: 1.264 MB / 0.6908 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/1.383, allocations: 110.9 kB / 0.6909 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/1.384, allocations: 0.972 MB / 0.6919 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.384, allocations: 39.58 kB / 0.6919 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/1.384, allocations: 449.8 kB / 0.6923 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/1.385, allocations: 193 kB / 0.6925 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/1.385, allocations: 199.9 kB / 0.6927 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.385, allocations: 345.7 kB / 0.693 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007843/1.386, allocations: 480.3 kB / 0.6935 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000916/1.387, allocations: 0.617 MB / 0.6941 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/1.389, allocations: 1.016 MB / 0.6951 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.389, allocations: 2.281 kB / 0.6951 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002246/1.391, allocations: 1.284 MB / 0.6963 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.391, allocations: 10.28 kB / 0.6964 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/1.391, allocations: 2.5 kB / 0.6964 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.391, allocations: 7.25 kB / 0.6964 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/1.392, allocations: 207.6 kB / 0.6966 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/1.392, allocations: 10.44 kB / 0.6966 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/1.393, allocations: 131.6 kB / 0.6967 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.393, allocations: 54.83 kB / 0.6967 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001162/1.394, allocations: 0.6697 MB / 0.6974 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009272/1.395, allocations: 0.5902 MB / 0.698 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001571/1.397, allocations: 0.9749 MB / 0.6989 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.003e-06/1.397, allocations: 4.562 kB / 0.6989 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002161/1.399, allocations: 1.234 MB / 0.7001 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.399, allocations: 12.95 kB / 0.7002 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/1.399, allocations: 1.203 kB / 0.7002 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/1.399, allocations: 8 kB / 0.7002 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/1.4, allocations: 204.4 kB / 0.7004 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.4, allocations: 8 kB / 0.7004 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.401, allocations: 92.77 kB / 0.7005 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.401, allocations: 59.59 kB / 0.7005 GB, free: 5.07 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.0004426/1.402, allocations: 230.4 kB / 0.7007 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/1.402, allocations: 95.75 kB / 0.7008 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/1.404, allocations: 1.28 MB / 0.7021 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.404, allocations: 4.906 kB / 0.7021 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.404, allocations: 0 / 0.7021 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.404, allocations: 5.984 kB / 0.7021 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/1.407, allocations: 2.043 MB / 0.7041 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.407, allocations: 4 kB / 0.7041 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/1.408, allocations: 137.7 kB / 0.7042 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.408, allocations: 7.938 kB / 0.7042 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/1.408, allocations: 24.7 kB / 0.7042 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/1.408, allocations: 5.203 kB / 0.7042 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.408, allocations: 0.9062 kB / 0.7043 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/1.41, allocations: 1.074 MB / 0.7053 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/1.41, allocations: 187.8 kB / 0.7055 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.41, allocations: 20.44 kB / 0.7055 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/1.411, allocations: 57.2 kB / 0.7056 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.411, allocations: 49.81 kB / 0.7056 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.411, allocations: 51.97 kB / 0.7056 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008553/1.412, allocations: 0.695 MB / 0.7063 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/1.412, allocations: 0 / 0.7063 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003331/1.415, allocations: 1.187 MB / 0.7075 GB, free: 14.03 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.003714/1.419, allocations: 1.198 MB / 0.7087 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00323/1.422, allocations: 1.746 MB / 0.7104 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.422, allocations: 0 / 0.7104 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007219/1.423, allocations: 451.5 kB / 0.7108 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/1.426, allocations: 0.5528 MB / 0.7113 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/1.429, allocations: 2.076 MB / 0.7134 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/1.429, allocations: 1.056 MB / 0.7144 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001939/1.431, allocations: 0.5619 MB / 0.7149 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/1.432, allocations: 119.4 kB / 0.7151 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/1.432, allocations: 1.203 kB / 0.7151 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of Templates: time 0.05385/1.485, allocations: 37.11 MB / 0.7513 GB, free: 1.469 MB / 0.545 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)