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.005599/0.005599, allocations: 100.8 kB / 15.73 MB, free: 6.031 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.001212/0.001212, allocations: 185.4 kB / 16.67 MB, free: 5.965 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.411/1.411, allocations: 205.1 MB / 222.6 MB, free: 4.578 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.00131/0.00131, allocations: 50.27 kB / 326.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1242, allocations: 46.62 MB / 373.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006478/0.1307, allocations: 5.025 MB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1333, allocations: 1.344 MB / 379.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002995/0.1336, allocations: 15.88 kB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.1341, allocations: 162.6 kB / 379.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006277/0.1347, allocations: 317.2 kB / 380 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.1352, allocations: 231.6 kB / 380.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.1364, allocations: 1.18 MB / 381.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.1369, allocations: 322 kB / 381.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.1374, allocations: 454.5 kB / 382.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.138, allocations: 0.5057 MB / 382.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.1381, allocations: 104 kB / 382.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.1383, allocations: 108 kB / 382.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.1385, allocations: 223.2 kB / 383.1 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.1391, allocations: 0.5172 MB / 383.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.1403, allocations: 1.207 MB / 384.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1403, allocations: 0 / 384.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1403, allocations: 0 / 384.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1403, allocations: 0 / 384.8 MB, free: 5.605 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.002842/0.1432, allocations: 1.337 MB / 386.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.1432, allocations: 12.03 kB / 386.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.1435, allocations: 103.8 kB / 386.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1446, allocations: 0.5833 MB / 386.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.1448, allocations: 143 kB / 387 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.1449, allocations: 60.12 kB / 387.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.1465, allocations: 0.847 MB / 387.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.1465, allocations: 3.906 kB / 387.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.849e-05/0.1466, allocations: 32 kB / 387.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.1467, allocations: 12 kB / 388 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.1481, allocations: 0.5984 MB / 388.6 MB, free: 1.648 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.003633/0.1518, allocations: 2.061 MB / 390.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.1533, allocations: 0.8545 MB / 391.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008406/0.1541, allocations: 391.6 kB / 391.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.1542, allocations: 12.66 kB / 391.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.232e-05/0.1543, allocations: 47.22 kB / 391.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 7.915e-06/0.1543, allocations: 4 kB / 391.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005657/0.16, allocations: 1.793 MB / 393.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000443/0.1604, allocations: 0.8233 MB / 394.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/0.1613, allocations: 0.6409 MB / 395.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.1614, allocations: 45.7 kB / 395.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.1617, allocations: 333.1 kB / 395.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.1621, allocations: 252.3 kB / 395.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.1623, allocations: 150.6 kB / 395.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.1626, allocations: 382.8 kB / 396.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.1632, allocations: 269.8 kB / 396.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/0.1642, allocations: 0.5546 MB / 397.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.1656, allocations: 0.6817 MB / 397.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1656, allocations: 0 / 397.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002918/0.1685, allocations: 1.094 MB / 398.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.1686, allocations: 89.11 kB / 399 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.1687, allocations: 3.938 kB / 399 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008253/0.1695, allocations: 235.3 kB / 399.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.1701, allocations: 139.8 kB / 399.4 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008903/0.179, allocations: 6.928 MB / 406.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.1801, allocations: 107.3 kB / 406.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.1802, allocations: 20 kB / 406.4 MB, free: 14.52 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.0004281/0.1806, allocations: 221.7 kB / 406.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.1808, allocations: 86.97 kB / 406.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.181, allocations: 95.33 kB / 406.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.181, allocations: 8 kB / 406.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.181, allocations: 0 / 406.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002574/0.1836, allocations: 1.237 MB / 408.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.1874, allocations: 1.916 MB / 410 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1874, allocations: 8 kB / 410 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.1881, allocations: 135.8 kB / 410.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/0.1887, allocations: 198.5 kB / 410.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.1887, allocations: 19.94 kB / 410.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006672/0.1954, allocations: 5.345 MB / 415.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1954, allocations: 0 / 415.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.1987, allocations: 1.399 MB / 417.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.1991, allocations: 236 kB / 417.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.1992, allocations: 23.92 kB / 417.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.1999, allocations: 47.95 kB / 417.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.2001, allocations: 60.58 kB / 417.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.2001, allocations: 19.98 kB / 417.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000611/0.2008, allocations: 463.1 kB / 417.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2008, allocations: 0 / 417.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009079/0.2017, allocations: 275.7 kB / 418.2 MB, free: 2.102 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.0002129/0.2019, allocations: 131.3 kB / 418.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.2043, allocations: 1.356 MB / 419.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.2043, allocations: 8.125 kB / 419.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.2057, allocations: 0.7651 MB / 420.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/0.2067, allocations: 238.8 kB / 420.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.2095, allocations: 1.597 MB / 422.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.21, allocations: 0.944 MB / 423.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003682/0.2104, allocations: 94.44 kB / 423.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.2106, allocations: 67.42 kB / 423.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2106, allocations: 4 kB / 423.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.03039/0.241, allocations: 18.58 MB / 441.9 MB, free: 10.09 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)