Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009495/0.009495, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001732/0.001732, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.512/1.512, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001306/0.001306, allocations: 50.89 kB / 326.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1171, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005028/0.1222, allocations: 3.474 MB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.124, allocations: 0.9859 MB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1242, allocations: 8 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.1246, allocations: 107.1 kB / 377.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.125, allocations: 182.4 kB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1253, allocations: 123.8 kB / 378 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007758/0.1261, allocations: 0.6458 MB / 378.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.1264, allocations: 190.8 kB / 378.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.1267, allocations: 239.1 kB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.127, allocations: 278.8 kB / 379.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.1271, allocations: 52 kB / 379.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.521e-05/0.1272, allocations: 52 kB / 379.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1273, allocations: 119.6 kB / 379.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.1277, allocations: 294.6 kB / 379.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.1283, allocations: 0.6423 MB / 380.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1284, allocations: 0 / 380.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1284, allocations: 0 / 380.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1284, allocations: 4 kB / 380.5 MB, free: 9.922 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001515/0.1299, allocations: 0.839 MB / 381.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.13, allocations: 8.031 kB / 381.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.1301, allocations: 64.28 kB / 381.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.1308, allocations: 398.6 kB / 381.8 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.884e-05/0.1309, allocations: 50.92 kB / 381.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.1309, allocations: 36.38 kB / 381.9 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.1317, allocations: 469 kB / 382.4 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1317, allocations: 4 kB / 382.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.1317, allocations: 16 kB / 382.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.1317, allocations: 8 kB / 382.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.1323, allocations: 278.5 kB / 382.7 MB, free: 7.621 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.002053/0.1344, allocations: 1.298 MB / 384 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1355, allocations: 432.5 kB / 384.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.1358, allocations: 136.8 kB / 384.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.1358, allocations: 15.92 kB / 384.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.1359, allocations: 38.56 kB / 384.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.1359, allocations: 0 / 384.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001133/0.137, allocations: 0.6062 MB / 385.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002323/0.1373, allocations: 441 kB / 385.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.1378, allocations: 453.9 kB / 386.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.1378, allocations: 37.7 kB / 386.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.138, allocations: 232.3 kB / 386.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.1381, allocations: 114.4 kB / 386.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.1383, allocations: 74.02 kB / 386.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1384, allocations: 358.8 kB / 386.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.1387, allocations: 104.6 kB / 387 MB, free: 3.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.139, allocations: 252.1 kB / 387.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.1395, allocations: 276.6 kB / 387.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1395, allocations: 0 / 387.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007157/0.1402, allocations: 424.9 kB / 387.9 MB, free: 2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.1403, allocations: 33.7 kB / 387.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1403, allocations: 0 / 387.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.1405, allocations: 49.7 kB / 388 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.1408, allocations: 63.89 kB / 388 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.1434, allocations: 2.964 MB / 391 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.1438, allocations: 51.56 kB / 391 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.1439, allocations: 16 kB / 391.1 MB, free: 14.53 MB / 334.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 (36): * Single equations (assignments): 33 * 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.0002048/0.1441, allocations: 169.8 kB / 391.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.1442, allocations: 47.44 kB / 391.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.1443, allocations: 52.69 kB / 391.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1443, allocations: 4 kB / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.1443, allocations: 3.938 kB / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006973/0.145, allocations: 0.6425 MB / 392 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1463, allocations: 0.9038 MB / 392.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1463, allocations: 3.938 kB / 392.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.1467, allocations: 67.98 kB / 393 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1467, allocations: 3.938 kB / 393 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.1467, allocations: 8 kB / 393 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1467, allocations: 3.938 kB / 393 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1467, allocations: 4 kB / 393 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.1476, allocations: 0.5122 MB / 393.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.1478, allocations: 164.6 kB / 393.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.1478, allocations: 8 kB / 393.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.1481, allocations: 11.98 kB / 393.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1482, allocations: 31.95 kB / 393.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1482, allocations: 8 kB / 393.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003401/0.1486, allocations: 327.1 kB / 394 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1486, allocations: 0 / 394 MB, free: 11.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004201/0.149, allocations: 131.8 kB / 394.2 MB, free: 11.23 MB / 334.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 (32): * Single equations (assignments): 32 * 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.0001336/0.1491, allocations: 99.25 kB / 394.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000929/0.1501, allocations: 0.5668 MB / 394.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1501, allocations: 0 / 394.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.1503, allocations: 124.4 kB / 394.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.151, allocations: 141.8 kB / 395.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1525, allocations: 0.8798 MB / 396 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.153, allocations: 0.8236 MB / 396.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.1532, allocations: 60.34 kB / 396.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1533, allocations: 43.44 kB / 396.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1533, allocations: 0 / 396.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of Templates: time 0.01543/0.1688, allocations: 8.403 MB / 405.3 MB, free: 15.96 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)