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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001317/0.001317, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.145/1.145, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001521/0.001521, allocations: 110.9 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1572/0.1572, allocations: 37.99 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.323e-05, allocations: 0 / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0728/0.07284, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.147/7.22, allocations: 3.653 GB / 4.049 GB, free: 148.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/7.22, allocations: 85 kB / 4.049 GB, free: 148.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.346/8.567, allocations: 470.2 MB / 4.508 GB, free: 25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/8.567, allocations: 0 / 4.508 GB, free: 25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.544e-05/8.567, allocations: 27.98 kB / 4.508 GB, free: 24.97 MB / 442.7 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.005148/8.572, allocations: 1.936 MB / 4.51 GB, free: 22.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/8.572, allocations: 8.031 kB / 4.51 GB, free: 22.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/8.572, allocations: 119.9 kB / 4.51 GB, free: 22.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/8.574, allocations: 0.7732 MB / 4.511 GB, free: 22.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/8.574, allocations: 53.98 kB / 4.511 GB, free: 21.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/8.574, allocations: 79.86 kB / 4.511 GB, free: 21.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/8.575, allocations: 1.21 MB / 4.512 GB, free: 20.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/8.575, allocations: 0 / 4.512 GB, free: 20.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.81e-05/8.576, allocations: 31.98 kB / 4.512 GB, free: 20.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.105e-05/8.576, allocations: 77.94 kB / 4.513 GB, free: 20.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/8.577, allocations: 1.327 MB / 4.514 GB, free: 19.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005987/8.583, allocations: 4.445 MB / 4.518 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/8.584, allocations: 0.6241 MB / 4.519 GB, free: 13.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/8.585, allocations: 278.1 kB / 4.519 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/8.585, allocations: 0.7931 MB / 4.52 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/8.585, allocations: 39 kB / 4.52 GB, free: 12.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=54): time 2.535e-06/8.585, allocations: 0 / 4.52 GB, free: 12.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.001001/8.586, allocations: 0.6356 MB / 4.52 GB, free: 11.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/8.586, allocations: 111.2 kB / 4.521 GB, free: 11.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006106/8.587, allocations: 0.6404 MB / 4.521 GB, free: 11.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/8.587, allocations: 37.7 kB / 4.521 GB, free: 11.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/8.587, allocations: 490.2 kB / 4.522 GB, free: 10.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/8.587, allocations: 193.3 kB / 4.522 GB, free: 10.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/8.587, allocations: 20 kB / 4.522 GB, free: 10.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/8.587, allocations: 386.8 kB / 4.522 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/8.588, allocations: 317.9 kB / 4.523 GB, free: 9.742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/8.588, allocations: 0.5592 MB / 4.523 GB, free: 9.074 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/8.589, allocations: 429.7 kB / 4.524 GB, free: 8.656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/8.589, allocations: 0 / 4.524 GB, free: 8.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001394/8.59, allocations: 1.03 MB / 4.525 GB, free: 7.617 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000391/8.591, allocations: 2.879 MB / 4.527 GB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/8.591, allocations: 4 kB / 4.527 GB, free: 4.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/8.591, allocations: 16 kB / 4.527 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/8.591, allocations: 223.7 kB / 4.528 GB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/8.591, allocations: 19.92 kB / 4.528 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/8.592, allocations: 130.9 kB / 4.528 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/8.592, allocations: 67.97 kB / 4.528 GB, free: 4.059 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/8.592, allocations: 4 kB / 4.528 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/8.594, allocations: 0.9045 MB / 4.529 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/8.594, allocations: 4 kB / 4.529 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/8.594, allocations: 16 kB / 4.529 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/8.594, allocations: 223.7 kB / 4.529 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/8.594, allocations: 19.92 kB / 4.529 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/8.595, allocations: 103.6 kB / 4.529 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/8.595, allocations: 67.97 kB / 4.529 GB, free: 2.723 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/8.595, allocations: 156.6 kB / 4.529 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/8.595, allocations: 82.97 kB / 4.529 GB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/8.597, allocations: 1.017 MB / 4.53 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/8.597, allocations: 11.94 kB / 4.53 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/8.597, allocations: 0 / 4.53 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/8.597, allocations: 3.984 kB / 4.53 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2317/8.829, allocations: 1.654 MB / 4.532 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/8.829, allocations: 0 / 4.532 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/8.83, allocations: 133.5 kB / 4.532 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/8.83, allocations: 7.203 kB / 4.532 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/8.83, allocations: 26.14 kB / 4.532 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/8.83, allocations: 5.469 kB / 4.532 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/8.83, allocations: 2.656 kB / 4.532 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/8.831, allocations: 0.924 MB / 4.533 GB, free: 47.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/8.831, allocations: 180.2 kB / 4.533 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/8.831, allocations: 11.78 kB / 4.533 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/8.832, allocations: 51.38 kB / 4.533 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/8.832, allocations: 48.36 kB / 4.533 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.121e-05/8.832, allocations: 44.92 kB / 4.533 GB, free: 47.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006934/8.833, allocations: 0.4945 MB / 4.534 GB, free: 47.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/8.833, allocations: 1.094 kB / 4.534 GB, free: 47.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004021/8.837, allocations: 1.333 MB / 4.535 GB, free: 47.05 MB / 442.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004214/8.841, allocations: 1.957 MB / 4.537 GB, free: 46.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00223/8.843, allocations: 1.251 MB / 4.538 GB, free: 46.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/8.843, allocations: 1.312 kB / 4.538 GB, free: 46.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/8.844, allocations: 338.7 kB / 4.539 GB, free: 46.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/8.845, allocations: 346.7 kB / 4.539 GB, free: 46.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/8.848, allocations: 1.354 MB / 4.54 GB, free: 46.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/8.848, allocations: 1.073 MB / 4.541 GB, free: 45.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002243/8.851, allocations: 0.5622 MB / 4.542 GB, free: 45.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/8.851, allocations: 106.5 kB / 4.542 GB, free: 45.82 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/8.851, allocations: 0 / 4.542 GB, free: 45.82 MB / 442.7 MB Notification: Performance of Templates: time 0.05062/8.902, allocations: 42.57 MB / 4.583 GB, free: 44.23 MB / 442.7 MB 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)