Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 105.5 kB / 16.62 MB, free: 6.805 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.002143/0.002144, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.421/1.421, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001926/0.001926, allocations: 47.94 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1156, allocations: 46.63 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005055/0.1207, allocations: 3.7 MB / 329.8 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1226, allocations: 1.013 MB / 330.8 MB, free: 64 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.123, allocations: 11.94 kB / 330.9 MB, free: 52 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.1235, allocations: 83.52 kB / 330.9 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005925/0.1241, allocations: 162.6 kB / 331.1 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.1245, allocations: 123.8 kB / 331.2 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009958/0.1255, allocations: 0.6731 MB / 331.9 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.1258, allocations: 190.5 kB / 332.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.1262, allocations: 259 kB / 332.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/0.1267, allocations: 294.7 kB / 332.6 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1268, allocations: 60 kB / 332.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1269, allocations: 56 kB / 332.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1271, allocations: 127.6 kB / 332.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.1274, allocations: 310.5 kB / 333.2 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.128, allocations: 0.6774 MB / 333.8 MB, free: 13.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.128, allocations: 3.984 kB / 333.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.128, allocations: 4 kB / 333.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.128, allocations: 0 / 333.8 MB, free: 13.05 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001568/0.1296, allocations: 0.8932 MB / 334.7 MB, free: 12.1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1297, allocations: 8.031 kB / 334.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1298, allocations: 68.28 kB / 334.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.1304, allocations: 422.5 kB / 335.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.1306, allocations: 86.88 kB / 335.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.1307, allocations: 32.38 kB / 335.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008355/0.1315, allocations: 0.4931 MB / 335.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1316, allocations: 0 / 335.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.1316, allocations: 20 kB / 335.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1316, allocations: 8 kB / 335.9 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008584/0.1325, allocations: 366.4 kB / 336.2 MB, free: 10.52 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.00192/0.1344, allocations: 1.302 MB / 337.5 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/0.1351, allocations: 391.4 kB / 337.9 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.1355, allocations: 192.8 kB / 338.1 MB, free: 8.523 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.1356, allocations: 11.98 kB / 338.1 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1356, allocations: 46.5 kB / 338.1 MB, free: 8.457 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.1356, allocations: 0 / 338.1 MB, free: 8.457 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001672/0.1373, allocations: 0.7588 MB / 338.9 MB, free: 7.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/0.1375, allocations: 448.9 kB / 339.3 MB, free: 7.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.138, allocations: 454 kB / 339.8 MB, free: 6.648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.138, allocations: 33.7 kB / 339.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1382, allocations: 244.4 kB / 340.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.1383, allocations: 122.2 kB / 340.2 MB, free: 6.246 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1385, allocations: 77.69 kB / 340.3 MB, free: 6.164 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1386, allocations: 362.7 kB / 340.6 MB, free: 5.801 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.139, allocations: 143.9 kB / 340.7 MB, free: 5.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.1395, allocations: 298.6 kB / 341 MB, free: 5.316 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/0.1403, allocations: 365.1 kB / 341.4 MB, free: 4.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1403, allocations: 0 / 341.4 MB, free: 4.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001126/0.1414, allocations: 0.4975 MB / 341.9 MB, free: 4.434 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.1415, allocations: 37.17 kB / 341.9 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1415, allocations: 0 / 341.9 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.1417, allocations: 49.7 kB / 342 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.1421, allocations: 91.86 kB / 342.1 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.1446, allocations: 2.974 MB / 345 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.1451, allocations: 59.69 kB / 345.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.1451, allocations: 15.94 kB / 345.1 MB, free: 0.9219 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.1454, allocations: 174.1 kB / 345.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.1455, allocations: 59.28 kB / 345.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1456, allocations: 52.75 kB / 345.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1456, allocations: 4 kB / 345.4 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1456, allocations: 0 / 345.4 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/0.1467, allocations: 0.7542 MB / 346.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.1485, allocations: 1.036 MB / 347.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1485, allocations: 0 / 347.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/0.149, allocations: 87.88 kB / 347.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.149, allocations: 3.984 kB / 347.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.149, allocations: 15.94 kB / 347.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1491, allocations: 0 / 347.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1491, allocations: 7.938 kB / 347.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1504, allocations: 0.6823 MB / 348 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.1506, allocations: 168.4 kB / 348.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/0.1507, allocations: 16 kB / 348.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.1511, allocations: 43.86 kB / 348.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.1512, allocations: 23.91 kB / 348.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.1513, allocations: 8 kB / 348.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004291/0.1517, allocations: 327.1 kB / 348.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1517, allocations: 0 / 348.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004799/0.1522, allocations: 135.8 kB / 348.7 MB, free: 13.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001721/0.1524, allocations: 115.1 kB / 348.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.1537, allocations: 0.6761 MB / 349.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1537, allocations: 0 / 349.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.1542, allocations: 195.8 kB / 349.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.1549, allocations: 142 kB / 349.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.1571, allocations: 1.082 MB / 350.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.1576, allocations: 0.8352 MB / 351.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.158, allocations: 64.36 kB / 351.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.1581, allocations: 43.44 kB / 351.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1581, allocations: 0 / 351.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of Templates: time 0.01586/0.174, allocations: 8.695 MB / 360.5 MB, free: 1.188 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)