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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001504/0.001504, allocations: 191.2 kB / 16.14 MB, free: 6.703 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.674/1.674, allocations: 205.1 MB / 222 MB, free: 4.789 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.3501/0.3501, allocations: 37.98 MB / 307.3 MB, free: 10.02 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.00147/0.00147, allocations: 72.53 kB / 374.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1559, allocations: 56.46 MB / 431 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.9179/1.074, allocations: 221 MB / 0.6367 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01447/1.088, allocations: 11.38 MB / 0.6478 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/1.09, allocations: 35.78 kB / 0.6479 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/1.092, allocations: 431.3 kB / 0.6483 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007708/1.099, allocations: 2.712 MB / 0.6509 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01185/1.111, allocations: 4.068 MB / 0.6549 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005113/1.116, allocations: 3.854 MB / 0.6587 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/1.118, allocations: 0.6225 MB / 0.6593 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/1.12, allocations: 0.8672 MB / 0.6601 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/1.123, allocations: 1.144 MB / 0.6612 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002496/1.123, allocations: 54.09 kB / 0.6613 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02228/1.145, allocations: 8.609 MB / 0.6697 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/1.147, allocations: 411.5 kB / 0.6701 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/1.148, allocations: 0.5508 MB / 0.6706 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.026/1.175, allocations: 5.837 MB / 0.6763 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/1.175, allocations: 0 / 0.6763 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.522e-06/1.175, allocations: 4 kB / 0.6763 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.16e-05/1.175, allocations: 2.062 kB / 0.6763 GB, free: 0.6758 MB / 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.01042/1.185, allocations: 2.267 MB / 0.6785 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.185, allocations: 7.75 kB / 0.6785 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005743/1.186, allocations: 123.1 kB / 0.6787 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/1.187, allocations: 0.7044 MB / 0.6793 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/1.187, allocations: 60.69 kB / 0.6794 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/1.187, allocations: 75.44 kB / 0.6795 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/1.189, allocations: 1.264 MB / 0.6807 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/1.19, allocations: 0 / 0.6807 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.19, allocations: 33.53 kB / 0.6807 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/1.19, allocations: 74.17 kB / 0.6808 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/1.192, allocations: 1.412 MB / 0.6822 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008807/1.201, allocations: 4.752 MB / 0.6868 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/1.203, allocations: 0.8656 MB / 0.6877 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000637/1.203, allocations: 415.4 kB / 0.6881 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/1.205, allocations: 1.392 MB / 0.6894 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.205, allocations: 47.16 kB / 0.6895 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 3.286e-06/1.205, allocations: 0 / 0.6895 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.002505/1.207, allocations: 1.262 MB / 0.6907 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/1.207, allocations: 110.2 kB / 0.6908 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.209, allocations: 0.9723 MB / 0.6918 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.209, allocations: 41.41 kB / 0.6918 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/1.209, allocations: 444.1 kB / 0.6922 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/1.21, allocations: 201.4 kB / 0.6924 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/1.21, allocations: 197 kB / 0.6926 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.21, allocations: 345 kB / 0.6929 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008899/1.211, allocations: 480.4 kB / 0.6934 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009564/1.212, allocations: 0.6052 MB / 0.694 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/1.214, allocations: 1.019 MB / 0.695 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.214, allocations: 0 / 0.695 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00238/1.216, allocations: 1.286 MB / 0.6962 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.216, allocations: 5.469 kB / 0.6962 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.216, allocations: 5.031 kB / 0.6962 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/1.216, allocations: 6.047 kB / 0.6963 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009792/1.217, allocations: 212.3 kB / 0.6965 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/1.217, allocations: 9.844 kB / 0.6965 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/1.218, allocations: 131.4 kB / 0.6966 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.218, allocations: 55.55 kB / 0.6966 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001238/1.22, allocations: 0.6674 MB / 0.6973 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009706/1.221, allocations: 0.5895 MB / 0.6979 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001564/1.222, allocations: 0.9815 MB / 0.6988 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/1.222, allocations: 10.84 kB / 0.6988 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002229/1.224, allocations: 1.227 MB / 0.7 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.224, allocations: 8 kB / 0.7 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.224, allocations: 3.984 kB / 0.7 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/1.225, allocations: 8 kB / 0.7001 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/1.225, allocations: 210.7 kB / 0.7003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.225, allocations: 10.91 kB / 0.7003 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.226, allocations: 90.2 kB / 0.7004 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.227, allocations: 60.89 kB / 0.7004 GB, free: 4.684 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.0004405/1.227, allocations: 227.9 kB / 0.7006 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/1.227, allocations: 94.88 kB / 0.7007 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/1.23, allocations: 1.283 MB / 0.702 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.23, allocations: 4 kB / 0.702 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.23, allocations: 0 / 0.702 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.23, allocations: 3.984 kB / 0.702 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/1.233, allocations: 2.055 MB / 0.704 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.233, allocations: 0 / 0.704 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/1.234, allocations: 133 kB / 0.7041 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/1.234, allocations: 8.922 kB / 0.7041 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/1.234, allocations: 26.86 kB / 0.7041 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/1.234, allocations: 4.25 kB / 0.7042 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.234, allocations: 6.906 kB / 0.7042 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/1.235, allocations: 1.074 MB / 0.7052 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/1.236, allocations: 183.8 kB / 0.7054 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/1.236, allocations: 23.84 kB / 0.7054 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/1.237, allocations: 51.94 kB / 0.7055 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.237, allocations: 48.5 kB / 0.7055 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.237, allocations: 49.06 kB / 0.7055 GB, free: 392 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009855/1.238, allocations: 0.7009 MB / 0.7062 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/1.238, allocations: 0 / 0.7062 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003808/1.242, allocations: 1.19 MB / 0.7074 GB, free: 14.5 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.003492/1.245, allocations: 1.196 MB / 0.7086 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003191/1.248, allocations: 1.611 MB / 0.7101 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.248, allocations: 4 kB / 0.7101 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007579/1.249, allocations: 452.8 kB / 0.7106 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.252, allocations: 0.5218 MB / 0.7111 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/1.255, allocations: 2.076 MB / 0.7131 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/1.256, allocations: 1.056 MB / 0.7141 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002072/1.258, allocations: 0.564 MB / 0.7147 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/1.259, allocations: 119.4 kB / 0.7148 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/1.259, allocations: 0 / 0.7148 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of Templates: time 0.05716/1.316, allocations: 36.34 MB / 0.7503 GB, free: 2.812 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)