Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.006544/0.006544, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.00128/0.00128, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.467/1.467, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.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.001194/0.001194, allocations: 49.03 kB / 326.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1174, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006701/0.1242, allocations: 5.024 MB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.127, allocations: 1.352 MB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.1273, allocations: 11.94 kB / 379.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.1279, allocations: 154.6 kB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006747/0.1286, allocations: 325.2 kB / 380 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.1292, allocations: 227.6 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1304, allocations: 1.183 MB / 381.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/0.1309, allocations: 314 kB / 381.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.1314, allocations: 446.5 kB / 382.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006669/0.1321, allocations: 0.5135 MB / 382.7 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.1323, allocations: 104 kB / 382.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1325, allocations: 104 kB / 382.9 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1327, allocations: 223.2 kB / 383.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.1332, allocations: 0.5172 MB / 383.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.1344, allocations: 1.214 MB / 384.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1344, allocations: 7.938 kB / 384.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1344, allocations: 0 / 384.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1345, allocations: 0 / 384.8 MB, free: 5.586 MB / 318.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.002417/0.1369, allocations: 1.371 MB / 386.2 MB, free: 4.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1369, allocations: 8.031 kB / 386.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.1371, allocations: 112.3 kB / 386.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1382, allocations: 0.5838 MB / 386.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.1384, allocations: 143 kB / 387.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1385, allocations: 60.12 kB / 387.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.14, allocations: 0.847 MB / 388 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.14, allocations: 0 / 388 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.1401, allocations: 28 kB / 388 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1402, allocations: 16 kB / 388 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.1416, allocations: 0.5985 MB / 388.6 MB, free: 1.594 MB / 318.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.003376/0.145, allocations: 2.062 MB / 390.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.1464, allocations: 0.8506 MB / 391.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.1472, allocations: 391.6 kB / 391.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.025e-05/0.1473, allocations: 24.64 kB / 391.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.1473, allocations: 47.2 kB / 392 MB, free: 14.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.126e-06/0.1473, allocations: 0 / 392 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004968/0.1523, allocations: 1.797 MB / 393.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004615/0.1528, allocations: 0.8234 MB / 394.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.1535, allocations: 0.6371 MB / 395.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.1536, allocations: 45.7 kB / 395.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.1539, allocations: 341.3 kB / 395.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.1541, allocations: 261.7 kB / 395.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.1544, allocations: 142.7 kB / 396 MB, free: 9.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1545, allocations: 386.8 kB / 396.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.1552, allocations: 277.8 kB / 396.6 MB, free: 9.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009099/0.1561, allocations: 0.5507 MB / 397.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.1575, allocations: 0.6855 MB / 397.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1575, allocations: 0 / 397.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002612/0.1601, allocations: 1.099 MB / 399 MB, free: 6.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.1602, allocations: 81.11 kB / 399.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1602, allocations: 4 kB / 399.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.1609, allocations: 235.3 kB / 399.3 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.1615, allocations: 139.8 kB / 399.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007851/0.1694, allocations: 6.951 MB / 406.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.1705, allocations: 99.55 kB / 406.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.1706, allocations: 20 kB / 406.5 MB, free: 14.43 MB / 350.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.0004016/0.171, allocations: 217.7 kB / 406.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.1711, allocations: 87.48 kB / 406.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.1713, allocations: 99.33 kB / 406.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1713, allocations: 4 kB / 406.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.1713, allocations: 0 / 406.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002513/0.1739, allocations: 1.241 MB / 408.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.1776, allocations: 1.92 MB / 410.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1776, allocations: 0 / 410.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.1783, allocations: 135.8 kB / 410.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005576/0.1788, allocations: 206.4 kB / 410.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.1789, allocations: 19.92 kB / 410.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00657/0.1855, allocations: 5.35 MB / 415.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1855, allocations: 8.047 kB / 415.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.189, allocations: 1.392 MB / 417.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000494/0.1895, allocations: 244.4 kB / 417.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.1896, allocations: 20.12 kB / 417.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.1903, allocations: 55.95 kB / 417.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.1905, allocations: 60.56 kB / 417.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.1906, allocations: 20 kB / 417.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006279/0.1912, allocations: 455 kB / 418 MB, free: 2.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1912, allocations: 0 / 418 MB, free: 2.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000863/0.1921, allocations: 283.8 kB / 418.3 MB, free: 1.992 MB / 350.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.0001818/0.1923, allocations: 127.1 kB / 418.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.1947, allocations: 1.36 MB / 419.8 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.1947, allocations: 0 / 419.8 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.1962, allocations: 0.7614 MB / 420.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.1973, allocations: 238.5 kB / 420.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.2003, allocations: 1.631 MB / 422.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.2009, allocations: 0.9401 MB / 423.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000471/0.2014, allocations: 102.4 kB / 423.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.2016, allocations: 67.44 kB / 423.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2016, allocations: 0 / 423.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Templates: time 0.03042/0.2321, allocations: 18.58 MB / 442.1 MB, free: 9.961 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)