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.001258/0.001258, allocations: 95.09 kB / 16.3 MB, free: 5.656 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.001132/0.001131, allocations: 185.3 kB / 17.2 MB, free: 5.59 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.53/1.53, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0007126/0.0007128, allocations: 19.98 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1194, allocations: 47.58 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005389/0.1248, allocations: 3.989 MB / 331.7 MB, free: 104 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.1281, allocations: 1.283 MB / 333 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000793/0.1289, allocations: 11.94 kB / 333 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005408/0.1295, allocations: 103.2 kB / 333.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.1307, allocations: 347 kB / 333.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.1314, allocations: 171.7 kB / 333.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.133, allocations: 0.7847 MB / 334.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.1335, allocations: 274.6 kB / 334.6 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004896/0.134, allocations: 374.8 kB / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.1345, allocations: 438.2 kB / 335.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1346, allocations: 60 kB / 335.5 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1348, allocations: 60 kB / 335.5 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.1349, allocations: 171.3 kB / 335.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.1352, allocations: 201.3 kB / 335.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.1358, allocations: 0.8374 MB / 336.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1358, allocations: 8 kB / 336.8 MB, free: 10.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1358, allocations: 0 / 336.8 MB, free: 10.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1359, allocations: 0 / 336.8 MB, free: 10.98 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.00209/0.138, allocations: 1.189 MB / 337.9 MB, free: 9.727 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.138, allocations: 12.03 kB / 338 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.1382, allocations: 106.9 kB / 338.1 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008934/0.1391, allocations: 0.5317 MB / 338.6 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.1394, allocations: 174.4 kB / 338.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/0.1395, allocations: 55.91 kB / 338.8 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.141, allocations: 0.8665 MB / 339.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.141, allocations: 0 / 339.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.1411, allocations: 28 kB / 339.7 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1411, allocations: 16 kB / 339.7 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.1427, allocations: 0.657 MB / 340.4 MB, free: 7.121 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.003367/0.1461, allocations: 2.03 MB / 342.4 MB, free: 4.988 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.1475, allocations: 0.8858 MB / 343.3 MB, free: 4.043 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.573e-05/0.1475, allocations: 12.66 kB / 343.3 MB, free: 4.031 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.1476, allocations: 51.22 kB / 343.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.465e-06/0.1476, allocations: 0 / 343.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005215/0.1528, allocations: 1.987 MB / 345.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004292/0.1533, allocations: 0.8234 MB / 346.2 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007399/0.154, allocations: 0.5786 MB / 346.7 MB, free: 292 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.1541, allocations: 41.7 kB / 346.8 MB, free: 244 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.1544, allocations: 345.1 kB / 347.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.1546, allocations: 248.2 kB / 347.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1547, allocations: 16 kB / 347.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1548, allocations: 386.8 kB / 347.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/0.1556, allocations: 305.8 kB / 348.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.1566, allocations: 0.5819 MB / 348.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/0.1575, allocations: 431.9 kB / 349.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1575, allocations: 0 / 349.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002948/0.1604, allocations: 1.196 MB / 350.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.1606, allocations: 81.11 kB / 350.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1606, allocations: 7.984 kB / 350.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008022/0.1614, allocations: 251.2 kB / 350.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.1621, allocations: 151.8 kB / 350.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008534/0.1707, allocations: 6.583 MB / 357.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.1717, allocations: 123.4 kB / 357.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.1719, allocations: 27.94 kB / 357.5 MB, free: 4.816 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004656/0.1723, allocations: 217.7 kB / 357.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.1726, allocations: 90.97 kB / 357.8 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.1728, allocations: 87.34 kB / 357.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1728, allocations: 8 kB / 357.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1728, allocations: 4 kB / 357.9 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002725/0.1755, allocations: 1.335 MB / 359.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.1797, allocations: 1.976 MB / 361.2 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1798, allocations: 4 kB / 361.2 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007566/0.1805, allocations: 155.8 kB / 361.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/0.1811, allocations: 206.4 kB / 361.5 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/0.1812, allocations: 19.98 kB / 361.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006693/0.1879, allocations: 5.118 MB / 366.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.188, allocations: 3.953 kB / 366.7 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/0.1919, allocations: 1.523 MB / 368.2 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004933/0.1924, allocations: 235.8 kB / 368.4 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.1927, allocations: 23.94 kB / 368.5 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009561/0.1936, allocations: 63.94 kB / 368.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.1939, allocations: 65.03 kB / 368.6 MB, free: 9.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.1939, allocations: 19.94 kB / 368.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006638/0.1946, allocations: 415.1 kB / 369 MB, free: 8.637 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.1946, allocations: 4 kB / 369 MB, free: 8.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001291/0.1959, allocations: 275.7 kB / 369.3 MB, free: 8.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002159/0.1961, allocations: 123.2 kB / 369.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.1988, allocations: 1.399 MB / 370.8 MB, free: 6.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.1988, allocations: 4 kB / 370.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.2004, allocations: 0.8159 MB / 371.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/0.2014, allocations: 210.9 kB / 371.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.2045, allocations: 1.923 MB / 373.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.2051, allocations: 0.9552 MB / 374.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005696/0.2057, allocations: 93.53 kB / 374.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.2059, allocations: 59.44 kB / 374.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2059, allocations: 0 / 374.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of Templates: time 0.1947/0.4006, allocations: 15.59 MB / 390.4 MB, free: 47.7 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: