Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.00664/0.00664, allocations: 101.5 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.001332/0.001332, allocations: 188.6 kB / 16.67 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.401/1.401, allocations: 205.1 MB / 222.5 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.001231/0.001231, allocations: 45.84 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1244, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.007338/0.1318, allocations: 5.017 MB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1343, allocations: 1.352 MB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.1346, allocations: 11.94 kB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.1352, allocations: 162.6 kB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007408/0.136, allocations: 317.2 kB / 380 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.1365, allocations: 235.6 kB / 380.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.1376, allocations: 1.176 MB / 381.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.1381, allocations: 314 kB / 381.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.1386, allocations: 454.5 kB / 382.2 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.1391, allocations: 0.5096 MB / 382.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.1393, allocations: 104 kB / 382.8 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1395, allocations: 115.9 kB / 382.9 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.1396, allocations: 215.2 kB / 383.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.1401, allocations: 0.5172 MB / 383.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1412, allocations: 1.211 MB / 384.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1412, allocations: 0 / 384.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1412, allocations: 0 / 384.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.1412, allocations: 3.938 kB / 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.002464/0.1437, allocations: 1.333 MB / 386.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1437, allocations: 12.03 kB / 386.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.1439, allocations: 103.8 kB / 386.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1449, allocations: 0.5833 MB / 386.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.1452, allocations: 151 kB / 387 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.1453, allocations: 60.06 kB / 387.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.1467, allocations: 0.8431 MB / 387.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.1467, allocations: 7.906 kB / 387.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.1468, allocations: 28 kB / 388 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1468, allocations: 12 kB / 388 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.1482, allocations: 0.6024 MB / 388.6 MB, free: 1.625 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.003667/0.1519, allocations: 2.049 MB / 390.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.1534, allocations: 0.8544 MB / 391.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/0.1542, allocations: 394.5 kB / 391.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.924e-05/0.1543, allocations: 12.66 kB / 391.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.1543, allocations: 51.2 kB / 391.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.076e-06/0.1543, allocations: 3.938 kB / 391.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005495/0.1598, allocations: 1.793 MB / 393.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000504/0.1604, allocations: 0.8234 MB / 394.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009183/0.1613, allocations: 0.637 MB / 395.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.1614, allocations: 45.7 kB / 395.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/0.1618, allocations: 333.1 kB / 395.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.1622, allocations: 248.3 kB / 395.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.1624, allocations: 150.6 kB / 395.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1626, allocations: 386.8 kB / 396.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.1633, allocations: 269.8 kB / 396.6 MB, free: 9.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009238/0.1642, allocations: 0.5507 MB / 397.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.1658, allocations: 0.6855 MB / 397.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1658, allocations: 0 / 397.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003239/0.1691, allocations: 1.094 MB / 398.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.1692, allocations: 85.11 kB / 399 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.1693, allocations: 0 / 399 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009341/0.1702, allocations: 239.2 kB / 399.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.1709, allocations: 143.8 kB / 399.4 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009286/0.1802, allocations: 6.935 MB / 406.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.1815, allocations: 99.36 kB / 406.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.1816, allocations: 24 kB / 406.4 MB, free: 14.5 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.0004882/0.1821, allocations: 217.7 kB / 406.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.1822, allocations: 94.95 kB / 406.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.1824, allocations: 91.28 kB / 406.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1824, allocations: 8 kB / 406.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1824, allocations: 0 / 406.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00258/0.185, allocations: 1.237 MB / 408.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.189, allocations: 1.92 MB / 410 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.189, allocations: 0 / 410 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/0.1897, allocations: 143.8 kB / 410.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005848/0.1903, allocations: 198.5 kB / 410.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.1904, allocations: 23.98 kB / 410.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00694/0.1973, allocations: 5.341 MB / 415.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1974, allocations: 0 / 415.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.2011, allocations: 1.395 MB / 417.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/0.2016, allocations: 236 kB / 417.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.2018, allocations: 24 kB / 417.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006687/0.2024, allocations: 47.95 kB / 417.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.2027, allocations: 60.56 kB / 417.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.2027, allocations: 16 kB / 417.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006413/0.2034, allocations: 463 kB / 417.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2034, allocations: 0 / 417.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009764/0.2043, allocations: 275.7 kB / 418.2 MB, free: 2.086 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.0002185/0.2046, allocations: 131.1 kB / 418.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.2071, allocations: 1.36 MB / 419.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.2071, allocations: 0 / 419.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.2086, allocations: 0.7614 MB / 420.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009776/0.2096, allocations: 242.8 kB / 420.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.2126, allocations: 1.605 MB / 422.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.2131, allocations: 0.9362 MB / 423.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.2135, allocations: 102.4 kB / 423.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.2137, allocations: 67.44 kB / 423.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2137, allocations: 0 / 423.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of Templates: time 0.03323/0.2469, allocations: 19.15 MB / 442.5 MB, free: 9.5 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)