Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.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.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001646/0.001646, allocations: 169.1 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.293/1.293, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001743/0.001743, allocations: 106.8 kB / 223.2 MB, free: 4.117 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.1757/0.1757, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.188e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09888, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.931/5.03, allocations: 2.486 GB / 2.882 GB, free: 17.71 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/5.03, allocations: 90.11 kB / 2.882 GB, free: 17.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.995/7.025, allocations: 0.5365 GB / 3.419 GB, free: 36.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.262e-06/7.025, allocations: 2.5 kB / 3.419 GB, free: 36.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.309e-05/7.025, allocations: 23.31 kB / 3.419 GB, free: 36.12 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.007302/7.033, allocations: 1.991 MB / 3.421 GB, free: 35.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/7.033, allocations: 9.531 kB / 3.421 GB, free: 35.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/7.035, allocations: 316.4 kB / 3.421 GB, free: 35.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/7.037, allocations: 0.7033 MB / 3.422 GB, free: 35.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/7.037, allocations: 301.9 kB / 3.422 GB, free: 34.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/7.037, allocations: 82.56 kB / 3.422 GB, free: 34.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/7.04, allocations: 1.47 MB / 3.423 GB, free: 34.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/7.04, allocations: 5.438 kB / 3.423 GB, free: 34.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/7.041, allocations: 36.5 kB / 3.423 GB, free: 34.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/7.041, allocations: 38.12 kB / 3.423 GB, free: 34.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/7.043, allocations: 1.27 MB / 3.425 GB, free: 34.61 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007781/7.051, allocations: 6.372 MB / 3.431 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/7.053, allocations: 0.8838 MB / 3.432 GB, free: 30.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/7.053, allocations: 372.4 kB / 3.432 GB, free: 30.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02918/7.083, allocations: 18.6 MB / 3.45 GB, free: 18.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/7.083, allocations: 49.59 kB / 3.45 GB, free: 18.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 2.866e-06/7.083, allocations: 0 / 3.45 GB, free: 18.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.005732/7.088, allocations: 2.473 MB / 3.453 GB, free: 18.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/7.088, allocations: 162.4 kB / 3.453 GB, free: 18.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007661/7.089, allocations: 0.6986 MB / 3.454 GB, free: 18.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/7.089, allocations: 45.45 kB / 3.454 GB, free: 18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/7.09, allocations: 458.3 kB / 3.454 GB, free: 17.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/7.09, allocations: 220.4 kB / 3.454 GB, free: 17.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/7.09, allocations: 18.69 kB / 3.454 GB, free: 17.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/7.09, allocations: 396.5 kB / 3.455 GB, free: 17.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/7.09, allocations: 387.2 kB / 3.455 GB, free: 17.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/7.091, allocations: 0.6514 MB / 3.456 GB, free: 17.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/7.092, allocations: 425.4 kB / 3.456 GB, free: 17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/7.092, allocations: 5.109 kB / 3.456 GB, free: 17 MB / 442.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001601/7.093, allocations: 1.151 MB / 3.457 GB, free: 16.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/7.093, allocations: 15.52 kB / 3.457 GB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/7.093, allocations: 7.844 kB / 3.457 GB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/7.094, allocations: 92.95 kB / 3.457 GB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/7.097, allocations: 429.8 kB / 3.458 GB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/7.103, allocations: 6.418 MB / 3.464 GB, free: 27.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/7.104, allocations: 142.4 kB / 3.464 GB, free: 27.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.792e-05/7.104, allocations: 46.16 kB / 3.464 GB, free: 27.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 21 (tank.heatTransfer.states[1].phase,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[4],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],$PRE.tank.aboveLevel[2],tank.aboveLevel[2],$PRE.tank.aboveLevel[3],tank.aboveLevel[3],$PRE.tank.aboveLevel[4],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002423/7.104, allocations: 179.6 kB / 3.464 GB, free: 26.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/7.104, allocations: 87.06 kB / 3.464 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/7.106, allocations: 2.079 MB / 3.466 GB, free: 26.67 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/7.107, allocations: 18.66 kB / 3.466 GB, free: 26.67 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/7.107, allocations: 0 / 3.466 GB, free: 26.67 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/7.107, allocations: 5.156 kB / 3.466 GB, free: 26.67 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/7.11, allocations: 3.302 MB / 3.47 GB, free: 26.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/7.11, allocations: 0 / 3.47 GB, free: 26.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003144/7.114, allocations: 363.9 kB / 3.47 GB, free: 26.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/7.114, allocations: 105.4 kB / 3.47 GB, free: 26.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/7.114, allocations: 20.66 kB / 3.47 GB, free: 26.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005733/7.12, allocations: 6.396 MB / 3.476 GB, free: 20.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/7.12, allocations: 1.312 kB / 3.476 GB, free: 20.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/7.122, allocations: 2.031 MB / 3.478 GB, free: 20 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/7.123, allocations: 318.5 kB / 3.479 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/7.123, allocations: 30.25 kB / 3.479 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008815/7.124, allocations: 120.6 kB / 3.479 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/7.124, allocations: 128.2 kB / 3.479 GB, free: 19.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/7.124, allocations: 30.2 kB / 3.479 GB, free: 19.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008585/7.125, allocations: 0.7685 MB / 3.48 GB, free: 19.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.125, allocations: 2.078 kB / 3.48 GB, free: 19.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005708/7.13, allocations: 1.282 MB / 3.481 GB, free: 19.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,tank.heatTransfer.states[1].phase,tank.ports_m_flow_out[1],tank.ports_m_flow_out[2],tank.ports_m_flow_out[3],tank.ports_m_flow_out[4],tank.aboveLevel[1],tank.aboveLevel[2],tank.aboveLevel[3],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase) * Number of discrete states: 8 (tank.aboveLevel[1],tank.ports_m_flow_out[1],tank.aboveLevel[2],tank.ports_m_flow_out[2],tank.aboveLevel[3],tank.ports_m_flow_out[3],tank.aboveLevel[4],tank.ports_m_flow_out[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007179/7.138, allocations: 1.893 MB / 3.483 GB, free: 19.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00415/7.142, allocations: 1.192 MB / 3.484 GB, free: 19.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/7.142, allocations: 3.5 kB / 3.484 GB, free: 19.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003009/7.145, allocations: 0.8473 MB / 3.485 GB, free: 19.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/7.148, allocations: 0.5012 MB / 3.485 GB, free: 19.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/7.151, allocations: 1.901 MB / 3.487 GB, free: 18.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/7.151, allocations: 1.234 MB / 3.488 GB, free: 18.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001102/7.152, allocations: 0.4928 MB / 3.489 GB, free: 18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/7.153, allocations: 88 kB / 3.489 GB, free: 17.99 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/7.153, allocations: 0 / 3.489 GB, free: 17.99 MB / 458.7 MB Notification: Performance of Templates: time 0.06262/7.215, allocations: 53.59 MB / 3.541 GB, free: 14.84 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1)