Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001642/0.001642, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.525/1.525, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 51.92 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1158, allocations: 46.63 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.007488/0.1234, allocations: 5.02 MB / 331.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.127, allocations: 1.337 MB / 333 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.1281, allocations: 8 kB / 333 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007395/0.1289, allocations: 162.5 kB / 333.1 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.13, allocations: 321.2 kB / 333.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.1307, allocations: 231.6 kB / 333.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.1322, allocations: 1.176 MB / 334.9 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000565/0.1328, allocations: 318 kB / 335.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006047/0.1334, allocations: 454.4 kB / 335.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005687/0.1339, allocations: 0.4979 MB / 336.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.1341, allocations: 104 kB / 336.2 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.1343, allocations: 108 kB / 336.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.1345, allocations: 227.2 kB / 336.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006522/0.1352, allocations: 0.5172 MB / 337.1 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1363, allocations: 1.187 MB / 338.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1363, allocations: 4 kB / 338.2 MB, free: 8.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1363, allocations: 4 kB / 338.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.1363, allocations: 0 / 338.3 MB, free: 8.762 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002684/0.139, allocations: 1.345 MB / 339.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.1391, allocations: 8.031 kB / 339.6 MB, free: 7.336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.1393, allocations: 111.8 kB / 339.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.1403, allocations: 0.5754 MB / 340.3 MB, free: 6.613 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.1407, allocations: 170.9 kB / 340.5 MB, free: 6.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.1408, allocations: 64.05 kB / 340.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.1424, allocations: 0.8626 MB / 341.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.1424, allocations: 0 / 341.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/0.1425, allocations: 28 kB / 341.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1425, allocations: 12 kB / 341.4 MB, free: 5.363 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.1441, allocations: 0.6297 MB / 342 MB, free: 4.734 MB / 286.1 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.003402/0.1475, allocations: 2.065 MB / 344.1 MB, free: 2.562 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.1489, allocations: 0.8623 MB / 345 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008893/0.1498, allocations: 402.6 kB / 345.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.764e-05/0.1499, allocations: 16.64 kB / 345.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.15, allocations: 47.22 kB / 345.4 MB, free: 1.172 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 3.176e-06/0.15, allocations: 0 / 345.4 MB, free: 1.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005693/0.1557, allocations: 1.847 MB / 347.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004974/0.1562, allocations: 0.8234 MB / 348.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.1572, allocations: 0.6293 MB / 348.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.1574, allocations: 45.7 kB / 348.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.1577, allocations: 333 kB / 349.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.1579, allocations: 256.2 kB / 349.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.1582, allocations: 142.7 kB / 349.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.1584, allocations: 386.8 kB / 349.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007073/0.1591, allocations: 289.8 kB / 350.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.1602, allocations: 0.5663 MB / 350.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.1617, allocations: 0.7051 MB / 351.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1617, allocations: 3.938 kB / 351.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002864/0.1646, allocations: 1.126 MB / 352.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.1647, allocations: 81.11 kB / 352.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1647, allocations: 4 kB / 352.6 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007205/0.1654, allocations: 239.2 kB / 352.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.1661, allocations: 147.8 kB / 353 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008158/0.1743, allocations: 6.924 MB / 359.9 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.1755, allocations: 115.3 kB / 360.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.1755, allocations: 20 kB / 360.1 MB, free: 1.441 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.176, allocations: 221.8 kB / 360.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.1761, allocations: 83.06 kB / 360.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.1763, allocations: 91.34 kB / 360.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1763, allocations: 4 kB / 360.5 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1763, allocations: 4 kB / 360.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002673/0.179, allocations: 1.264 MB / 361.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/0.183, allocations: 1.953 MB / 363.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1831, allocations: 4.141 kB / 363.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.1838, allocations: 143.8 kB / 363.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005408/0.1843, allocations: 194.4 kB / 364 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.1844, allocations: 19.98 kB / 364 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006764/0.1912, allocations: 5.346 MB / 369.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1912, allocations: 3.938 kB / 369.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/0.1951, allocations: 1.433 MB / 370.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/0.1957, allocations: 243.9 kB / 371.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.1959, allocations: 20 kB / 371.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.1966, allocations: 63.88 kB / 371.1 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.1968, allocations: 60.58 kB / 371.2 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.1968, allocations: 23.98 kB / 371.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006404/0.1975, allocations: 451.1 kB / 371.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1975, allocations: 0 / 371.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001/0.1985, allocations: 279.7 kB / 371.9 MB, free: 4.914 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002013/0.1987, allocations: 127.1 kB / 372.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002665/0.2014, allocations: 1.398 MB / 373.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.2014, allocations: 4 kB / 373.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.203, allocations: 0.7886 MB / 374.2 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.204, allocations: 242.1 kB / 374.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.207, allocations: 1.629 MB / 376.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1985/0.4054, allocations: 0.9351 MB / 377 MB, free: 52.33 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007938/0.4063, allocations: 104.1 kB / 377.2 MB, free: 52.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.4065, allocations: 63.45 kB / 377.2 MB, free: 52.31 MB / 318.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4065, allocations: 0 / 377.2 MB, free: 52.31 MB / 318.1 MB Notification: Performance of Templates: time 0.03613/0.4427, allocations: 18.45 MB / 395.7 MB, free: 44.88 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)