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.001354/0.001354, allocations: 96.7 kB / 16.31 MB, free: 5.996 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.001459/0.001459, allocations: 183.2 kB / 17.2 MB, free: 5.914 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.39/1.39, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004851/0.0004852, allocations: 20 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 47.57 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003979/0.1169, allocations: 2.917 MB / 330.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.119, allocations: 0.944 MB / 331.6 MB, free: 224 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004426/0.1194, allocations: 7.938 kB / 331.6 MB, free: 216 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1198, allocations: 71.52 kB / 331.6 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.1205, allocations: 211.4 kB / 331.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1209, allocations: 95.81 kB / 331.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.1219, allocations: 479.4 kB / 332.4 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.1224, allocations: 150 kB / 332.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.1229, allocations: 219.2 kB / 332.8 MB, free: 15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.1234, allocations: 242.9 kB / 333 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.1235, allocations: 36 kB / 333 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1237, allocations: 32 kB / 333.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1238, allocations: 95.64 kB / 333.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.124, allocations: 133.4 kB / 333.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.1245, allocations: 486.9 kB / 333.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1245, allocations: 0 / 333.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1245, allocations: 0 / 333.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.1245, allocations: 0 / 333.8 MB, free: 13.99 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.00159/0.1261, allocations: 0.8155 MB / 334.6 MB, free: 13.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1262, allocations: 8.031 kB / 334.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.1264, allocations: 67.25 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.1271, allocations: 397.5 kB / 335 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.1273, allocations: 86.33 kB / 335.1 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.1274, allocations: 35.98 kB / 335.2 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.1283, allocations: 0.493 MB / 335.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1284, allocations: 0 / 335.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.1284, allocations: 16 kB / 335.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1284, allocations: 8 kB / 335.7 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.1293, allocations: 382.4 kB / 336 MB, free: 11.55 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.001994/0.1313, allocations: 1.279 MB / 337.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007751/0.1321, allocations: 403.3 kB / 337.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.1322, allocations: 15.98 kB / 337.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1322, allocations: 34.56 kB / 337.8 MB, free: 9.695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.1322, allocations: 4 kB / 337.8 MB, free: 9.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001818/0.134, allocations: 0.7822 MB / 338.6 MB, free: 8.859 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003442/0.1344, allocations: 448.9 kB / 339 MB, free: 8.316 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.135, allocations: 418 kB / 339.4 MB, free: 7.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.135, allocations: 37.7 kB / 339.4 MB, free: 7.855 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1352, allocations: 240.4 kB / 339.7 MB, free: 7.617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.1354, allocations: 122.2 kB / 339.8 MB, free: 7.496 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.1354, allocations: 16 kB / 339.8 MB, free: 7.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1356, allocations: 354.8 kB / 340.2 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.136, allocations: 163.9 kB / 340.3 MB, free: 6.965 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.1365, allocations: 302.6 kB / 340.6 MB, free: 6.613 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.137, allocations: 215.1 kB / 340.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.137, allocations: 0 / 340.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001056/0.1381, allocations: 0.5138 MB / 341.3 MB, free: 5.867 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.1381, allocations: 33.7 kB / 341.4 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1381, allocations: 8 kB / 341.4 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.1383, allocations: 49.69 kB / 341.4 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.1387, allocations: 95.88 kB / 341.5 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.1412, allocations: 2.764 MB / 344.3 MB, free: 2.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.1417, allocations: 67.66 kB / 344.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.1418, allocations: 15.95 kB / 344.4 MB, free: 2.559 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002289/0.142, allocations: 165.8 kB / 344.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.206e-05/0.1421, allocations: 51.44 kB / 344.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1422, allocations: 52.77 kB / 344.6 MB, free: 2.285 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1422, allocations: 4 kB / 344.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1423, allocations: 0 / 344.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.1434, allocations: 0.7866 MB / 345.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.1451, allocations: 1.032 MB / 346.4 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1451, allocations: 0 / 346.4 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.1456, allocations: 95.92 kB / 346.5 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1456, allocations: 4 kB / 346.5 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.1456, allocations: 12 kB / 346.6 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1456, allocations: 3.938 kB / 346.6 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1456, allocations: 7.953 kB / 346.6 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.1471, allocations: 0.7061 MB / 347.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.1473, allocations: 168.5 kB / 347.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.1474, allocations: 8 kB / 347.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.1478, allocations: 43.95 kB / 347.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.1479, allocations: 27.92 kB / 347.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1479, allocations: 8 kB / 347.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00036/0.1483, allocations: 299.1 kB / 347.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1483, allocations: 4 kB / 347.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004769/0.1488, allocations: 139.7 kB / 348 MB, free: 14.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.1489, allocations: 107.2 kB / 348.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.1502, allocations: 0.6763 MB / 348.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1502, allocations: 4 kB / 348.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.1507, allocations: 203.7 kB / 348.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.1513, allocations: 125.9 kB / 349.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1531, allocations: 1.113 MB / 350.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1535, allocations: 0.8391 MB / 351 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000251/0.1538, allocations: 55.38 kB / 351.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1539, allocations: 39.44 kB / 351.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1539, allocations: 0 / 351.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of Templates: time 0.01496/0.1689, allocations: 7.449 MB / 358.6 MB, free: 4.055 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: