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.0009725/0.000973, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01009/0.0101, allocations: 169 kB / 16.26 MB, free: 6.652 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.857/1.857, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.3853/0.3853, allocations: 40 MB / 310.7 MB, free: 9.59 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.0006291/0.0006291, allocations: 12 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1601, allocations: 57.97 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 1.014/1.174, allocations: 217.8 MB / 0.6399 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/1.191, allocations: 11.21 MB / 0.6509 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/1.192, allocations: 28.53 kB / 0.6509 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/1.193, allocations: 436.8 kB / 0.6513 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008707/1.202, allocations: 2.71 MB / 0.6539 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01303/1.215, allocations: 4.063 MB / 0.6579 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005271/1.22, allocations: 3.855 MB / 0.6617 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/1.222, allocations: 0.6184 MB / 0.6623 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/1.224, allocations: 0.861 MB / 0.6631 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/1.227, allocations: 1.138 MB / 0.6642 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002194/1.227, allocations: 51.44 kB / 0.6643 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02197/1.249, allocations: 8.599 MB / 0.6727 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/1.25, allocations: 417.8 kB / 0.6731 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/1.252, allocations: 0.566 MB / 0.6736 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02303/1.275, allocations: 5.816 MB / 0.6793 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.276, allocations: 0.8125 kB / 0.6793 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.405e-06/1.276, allocations: 0 / 0.6793 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.584e-05/1.276, allocations: 0.5938 kB / 0.6793 GB, free: 15.8 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.007657/1.283, allocations: 2.054 MB / 0.6813 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.283, allocations: 8.656 kB / 0.6813 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005432/1.284, allocations: 120.4 kB / 0.6814 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/1.285, allocations: 0.7089 MB / 0.6821 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/1.285, allocations: 54.84 kB / 0.6822 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/1.285, allocations: 80.81 kB / 0.6823 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/1.288, allocations: 1.266 MB / 0.6835 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.288, allocations: 0 / 0.6835 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.288, allocations: 33.91 kB / 0.6835 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.311e-05/1.288, allocations: 71.86 kB / 0.6836 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/1.29, allocations: 1.421 MB / 0.685 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008123/1.298, allocations: 4.776 MB / 0.6897 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/1.3, allocations: 0.8695 MB / 0.6905 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/1.301, allocations: 420.8 kB / 0.6909 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/1.302, allocations: 1.397 MB / 0.6923 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/1.302, allocations: 45.28 kB / 0.6923 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.555e-06/1.302, allocations: 2.406 kB / 0.6923 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.002569/1.305, allocations: 1.28 MB / 0.6936 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/1.305, allocations: 109.6 kB / 0.6937 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/1.306, allocations: 0.973 MB / 0.6946 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.306, allocations: 43.33 kB / 0.6947 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/1.307, allocations: 444.8 kB / 0.6951 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/1.307, allocations: 197 kB / 0.6953 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/1.307, allocations: 73.77 kB / 0.6953 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.307, allocations: 342.3 kB / 0.6957 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/1.308, allocations: 482.3 kB / 0.6961 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008784/1.309, allocations: 0.6088 MB / 0.6967 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/1.31, allocations: 1.031 MB / 0.6977 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.31, allocations: 2.156 kB / 0.6977 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002418/1.313, allocations: 1.291 MB / 0.699 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/1.313, allocations: 181.5 kB / 0.6992 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.313, allocations: 2.906 kB / 0.6992 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.313, allocations: 9.875 kB / 0.6992 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/1.314, allocations: 209.3 kB / 0.6994 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.314, allocations: 11.05 kB / 0.6994 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/1.315, allocations: 143.8 kB / 0.6995 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.315, allocations: 62.72 kB / 0.6996 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/1.315, allocations: 3.5 kB / 0.6996 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001813/1.317, allocations: 1.132 MB / 0.7007 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.317, allocations: 3.094 kB / 0.7007 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/1.317, allocations: 5.188 kB / 0.7007 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/1.318, allocations: 213.8 kB / 0.7009 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.318, allocations: 10.48 kB / 0.7009 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/1.319, allocations: 106.3 kB / 0.701 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.319, allocations: 58.22 kB / 0.7011 GB, free: 6.156 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.0007655/1.32, allocations: 372.9 kB / 0.7014 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/1.32, allocations: 98.39 kB / 0.7015 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/1.323, allocations: 1.281 MB / 0.7028 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/1.323, allocations: 11.03 kB / 0.7028 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.323, allocations: 0.875 kB / 0.7028 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.323, allocations: 7.359 kB / 0.7028 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/1.326, allocations: 2.057 MB / 0.7048 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.326, allocations: 4 kB / 0.7048 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/1.327, allocations: 136.5 kB / 0.7049 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.327, allocations: 4.25 kB / 0.7049 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/1.327, allocations: 32.36 kB / 0.705 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/1.327, allocations: 7.938 kB / 0.705 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.327, allocations: 0 / 0.705 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/1.329, allocations: 1.091 MB / 0.706 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/1.329, allocations: 222.2 kB / 0.7063 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/1.33, allocations: 20.47 kB / 0.7063 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/1.33, allocations: 51.2 kB / 0.7063 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.331, allocations: 50.81 kB / 0.7064 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/1.331, allocations: 50.28 kB / 0.7064 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001066/1.332, allocations: 0.6984 MB / 0.7071 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.332, allocations: 0 / 0.7071 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004624/1.336, allocations: 1.187 MB / 0.7083 GB, free: 1.227 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.004896/1.341, allocations: 1.194 MB / 0.7094 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004996/1.346, allocations: 1.636 MB / 0.711 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.346, allocations: 0 / 0.711 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.348, allocations: 452.7 kB / 0.7115 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004951/1.353, allocations: 0.5206 MB / 0.712 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/1.358, allocations: 2.125 MB / 0.714 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.359, allocations: 1.049 MB / 0.7151 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00346/1.362, allocations: 0.5695 MB / 0.7156 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/1.363, allocations: 118.2 kB / 0.7157 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of SimCode: time 1.382e-06/1.363, allocations: 1.859 kB / 0.7157 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.07743/1.44, allocations: 36.09 MB / 0.751 GB, free: 6.676 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: