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.001141/0.001141, allocations: 115 kB / 16.63 MB, free: 6.812 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.001074/0.001074, allocations: 186 kB / 17.55 MB, free: 5.934 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.435/1.435, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001693/0.001694, allocations: 59.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.124, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006203/0.1303, allocations: 5.031 MB / 331.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.133, allocations: 1.341 MB / 332.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.1334, allocations: 8 kB / 332.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.1339, allocations: 127.1 kB / 332.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007098/0.1346, allocations: 281.7 kB / 332.9 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.1351, allocations: 203.7 kB / 333.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.1366, allocations: 1.168 MB / 334.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.137, allocations: 322 kB / 334.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/0.1375, allocations: 458.4 kB / 335 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.138, allocations: 0.4979 MB / 335.5 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.1382, allocations: 104 kB / 335.6 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.1383, allocations: 104 kB / 335.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1385, allocations: 231.2 kB / 336 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.139, allocations: 0.521 MB / 336.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.14, allocations: 1.176 MB / 337.7 MB, free: 9.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.14, allocations: 0 / 337.7 MB, free: 9.188 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.14, allocations: 0 / 337.7 MB, free: 9.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.14, allocations: 3.938 kB / 337.7 MB, free: 9.184 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.002403/0.1425, allocations: 1.352 MB / 339 MB, free: 7.758 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.1425, allocations: 8.031 kB / 339 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1427, allocations: 111.8 kB / 339.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.1436, allocations: 0.5715 MB / 339.7 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.1439, allocations: 174.9 kB / 339.9 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-05/0.144, allocations: 60.12 kB / 339.9 MB, free: 6.785 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.1454, allocations: 0.8587 MB / 340.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.1455, allocations: 0 / 340.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.1455, allocations: 24 kB / 340.8 MB, free: 5.801 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1456, allocations: 12 kB / 340.8 MB, free: 5.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.1469, allocations: 0.6297 MB / 341.5 MB, free: 5.156 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.003078/0.15, allocations: 2.073 MB / 343.5 MB, free: 2.977 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.1514, allocations: 0.8662 MB / 344.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.1522, allocations: 402.6 kB / 344.8 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.339e-05/0.1523, allocations: 20.62 kB / 344.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.1523, allocations: 47.22 kB / 344.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.475e-06/0.1523, allocations: 0 / 344.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005205/0.1575, allocations: 1.832 MB / 346.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003962/0.1579, allocations: 0.8273 MB / 347.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/0.1588, allocations: 0.6293 MB / 348.2 MB, free: 14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.1589, allocations: 45.7 kB / 348.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.1592, allocations: 337 kB / 348.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.1595, allocations: 256.2 kB / 348.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.1597, allocations: 146.6 kB / 348.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1599, allocations: 382.8 kB / 349.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/0.1606, allocations: 285.8 kB / 349.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009013/0.1615, allocations: 0.5624 MB / 350.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.163, allocations: 0.7168 MB / 350.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.163, allocations: 4 kB / 350.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002625/0.1656, allocations: 1.118 MB / 352 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.616e-05/0.1657, allocations: 89.09 kB / 352.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1657, allocations: 0 / 352.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006777/0.1664, allocations: 231.3 kB / 352.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.1671, allocations: 147.8 kB / 352.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008472/0.1756, allocations: 6.931 MB / 359.4 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.1768, allocations: 115.3 kB / 359.5 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.1768, allocations: 20.09 kB / 359.5 MB, free: 1.859 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.0004381/0.1773, allocations: 217.7 kB / 359.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.1774, allocations: 87.05 kB / 359.8 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.1776, allocations: 95.33 kB / 359.9 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1776, allocations: 4 kB / 359.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.1777, allocations: 192 / 359.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002543/0.1802, allocations: 1.264 MB / 361.2 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.1841, allocations: 1.952 MB / 363.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1842, allocations: 0 / 363.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.1849, allocations: 147.8 kB / 363.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.1854, allocations: 202.5 kB / 363.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.1855, allocations: 20 kB / 363.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006335/0.1918, allocations: 5.341 MB / 368.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1919, allocations: 0 / 368.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.1954, allocations: 1.441 MB / 370.3 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005524/0.196, allocations: 235.9 kB / 370.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.1961, allocations: 20 kB / 370.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007213/0.1968, allocations: 63.84 kB / 370.6 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.1971, allocations: 68.56 kB / 370.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.1972, allocations: 16 kB / 370.6 MB, free: 6.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006004/0.1978, allocations: 455 kB / 371.1 MB, free: 5.602 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1978, allocations: 0 / 371.1 MB, free: 5.602 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009067/0.1987, allocations: 283.7 kB / 371.4 MB, free: 5.324 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.0001913/0.1989, allocations: 123.3 kB / 371.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.2015, allocations: 1.402 MB / 372.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2015, allocations: 4.125 kB / 372.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.2028, allocations: 0.7846 MB / 373.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2039, allocations: 242 kB / 373.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.2073, allocations: 1.891 MB / 375.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1813/0.3886, allocations: 0.9355 MB / 376.7 MB, free: 52.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006706/0.3893, allocations: 103.8 kB / 376.8 MB, free: 52.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.3895, allocations: 62.42 kB / 376.9 MB, free: 52.58 MB / 318.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3895, allocations: 3.375 kB / 376.9 MB, free: 52.58 MB / 318.1 MB Notification: Performance of Templates: time 0.03497/0.4245, allocations: 18.04 MB / 394.9 MB, free: 45.66 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)