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.005444/0.005444, allocations: 164.4 kB / 15.11 MB, free: 6.039 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.214/1.214, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001734/0.001734, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.3759/0.3759, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004063, allocations: 8 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.607/7.743, allocations: 2.486 GB / 2.888 GB, free: 48.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/7.743, allocations: 85.58 kB / 2.888 GB, free: 48.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.486/10.23, allocations: 0.538 GB / 3.426 GB, free: 9.488 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.296e-06/10.23, allocations: 0 / 3.426 GB, free: 9.488 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.803e-05/10.23, allocations: 26.84 kB / 3.426 GB, free: 9.465 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.009185/10.24, allocations: 2.088 MB / 3.428 GB, free: 7.379 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/10.24, allocations: 8.031 kB / 3.428 GB, free: 7.371 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/10.24, allocations: 310.5 kB / 3.428 GB, free: 7.066 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/10.24, allocations: 0.6899 MB / 3.429 GB, free: 6.348 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/10.24, allocations: 308.6 kB / 3.429 GB, free: 6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/10.24, allocations: 87.84 kB / 3.429 GB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/10.25, allocations: 1.496 MB / 3.431 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/10.25, allocations: 12.8 kB / 3.431 GB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/10.25, allocations: 32 kB / 3.431 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/10.25, allocations: 41.98 kB / 3.431 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/10.25, allocations: 1.366 MB / 3.432 GB, free: 2.883 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.008733/10.26, allocations: 6.371 MB / 3.438 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/10.26, allocations: 0.9844 MB / 3.439 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4419/10.7, allocations: 18.54 MB / 3.458 GB, free: 41.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.355e-05/10.7, allocations: 41.97 kB / 3.458 GB, free: 41.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=59): time 2.584e-06/10.7, allocations: 6.094 kB / 3.458 GB, free: 41.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.008313/10.71, allocations: 2.981 MB / 3.461 GB, free: 41.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/10.71, allocations: 162.8 kB / 3.461 GB, free: 40.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/10.71, allocations: 0.7016 MB / 3.461 GB, free: 40.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/10.71, allocations: 48.33 kB / 3.461 GB, free: 40.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/10.71, allocations: 456.8 kB / 3.462 GB, free: 40.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/10.71, allocations: 221.1 kB / 3.462 GB, free: 40.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/10.71, allocations: 19.97 kB / 3.462 GB, free: 40.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/10.71, allocations: 402.1 kB / 3.462 GB, free: 40.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009704/10.72, allocations: 454 kB / 3.463 GB, free: 40.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/10.72, allocations: 0.7112 MB / 3.464 GB, free: 39.87 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/10.72, allocations: 490.7 kB / 3.464 GB, free: 39.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/10.72, allocations: 3.812 kB / 3.464 GB, free: 39.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002882/10.72, allocations: 1.274 MB / 3.465 GB, free: 39.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/10.72, allocations: 10.09 kB / 3.465 GB, free: 39.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/10.72, allocations: 11.16 kB / 3.465 GB, free: 39.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/10.72, allocations: 99.56 kB / 3.465 GB, free: 39.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003752/10.72, allocations: 420.4 kB / 3.466 GB, free: 39.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/10.73, allocations: 6.471 MB / 3.472 GB, free: 33.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/10.73, allocations: 139.7 kB / 3.472 GB, free: 33.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/10.73, allocations: 42.27 kB / 3.472 GB, free: 33.96 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 () * Number of clocked 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.0008779/10.73, allocations: 358.8 kB / 3.473 GB, free: 33.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/10.73, allocations: 88.91 kB / 3.473 GB, free: 33.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/10.74, allocations: 2.2 MB / 3.475 GB, free: 33.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/10.74, allocations: 16.62 kB / 3.475 GB, free: 33.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/10.74, allocations: 7.547 kB / 3.475 GB, free: 33.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/10.74, allocations: 6.688 kB / 3.475 GB, free: 33.58 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005923/10.74, allocations: 3.43 MB / 3.478 GB, free: 33.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/10.74, allocations: 6.469 kB / 3.478 GB, free: 33.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003797/10.75, allocations: 361.1 kB / 3.479 GB, free: 33.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004039/10.75, allocations: 102.8 kB / 3.479 GB, free: 33.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.603e-05/10.75, allocations: 22.59 kB / 3.479 GB, free: 33.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005944/10.75, allocations: 6.445 MB / 3.485 GB, free: 27.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/10.75, allocations: 2.188 kB / 3.485 GB, free: 27.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/10.76, allocations: 2.233 MB / 3.487 GB, free: 26.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009103/10.76, allocations: 309.9 kB / 3.487 GB, free: 26.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/10.76, allocations: 28.2 kB / 3.488 GB, free: 26.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009524/10.76, allocations: 120.2 kB / 3.488 GB, free: 26.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/10.76, allocations: 132 kB / 3.488 GB, free: 26.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.292e-05/10.76, allocations: 23.27 kB / 3.488 GB, free: 26.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001378/10.76, allocations: 0.7815 MB / 3.489 GB, free: 26.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.6e-07/10.76, allocations: 0 / 3.489 GB, free: 26.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008935/10.77, allocations: 1.289 MB / 3.49 GB, free: 26.66 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]) * Number of clocked states: 0 () * 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.01125/10.78, allocations: 1.872 MB / 3.492 GB, free: 26.47 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005477/10.79, allocations: 1.323 MB / 3.493 GB, free: 26.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/10.79, allocations: 3.094 kB / 3.493 GB, free: 26.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004066/10.79, allocations: 0.9138 MB / 3.494 GB, free: 26.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/10.79, allocations: 0.5103 MB / 3.494 GB, free: 26.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/10.8, allocations: 2.972 MB / 3.497 GB, free: 25.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/10.8, allocations: 1.227 MB / 3.498 GB, free: 24.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001393/10.8, allocations: 0.4958 MB / 3.499 GB, free: 24.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/10.8, allocations: 81.89 kB / 3.499 GB, free: 24.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.833e-06/10.8, allocations: 1.969 kB / 3.499 GB, free: 24.48 MB / 458.7 MB Notification: Performance of Templates: time 0.08383/10.89, allocations: 50.85 MB / 3.549 GB, free: 21.91 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)