Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108.1 kB / 16.92 MB, free: 5.754 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.001138/0.001139, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.49/1.49, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.00115/0.00115, allocations: 51.94 kB / 280 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09107, allocations: 46.62 MB / 326.6 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00567/0.09678, allocations: 4.937 MB / 331.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.09934, allocations: 1.321 MB / 332.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.09974, allocations: 15.94 kB / 332.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.1002, allocations: 166.5 kB / 333 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005661/0.1007, allocations: 313.3 kB / 333.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.1012, allocations: 227.6 kB / 333.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.1022, allocations: 1.149 MB / 334.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.1027, allocations: 337.9 kB / 335.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.1031, allocations: 438.5 kB / 335.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.1036, allocations: 0.4941 MB / 336 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.1037, allocations: 100 kB / 336.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1039, allocations: 104 kB / 336.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1041, allocations: 227.2 kB / 336.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.1046, allocations: 0.5133 MB / 336.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1056, allocations: 1.16 MB / 338.1 MB, free: 8.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1057, allocations: 0 / 338.1 MB, free: 8.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1057, allocations: 4 kB / 338.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.1057, allocations: 4 kB / 338.1 MB, free: 8.949 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00224/0.1079, allocations: 1.31 MB / 339.4 MB, free: 7.566 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.108, allocations: 12.03 kB / 339.4 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1082, allocations: 103.8 kB / 339.5 MB, free: 7.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.1089, allocations: 0.5435 MB / 340 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.1091, allocations: 143 kB / 340.2 MB, free: 6.715 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.1092, allocations: 60.38 kB / 340.2 MB, free: 6.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.1104, allocations: 0.8432 MB / 341.1 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1104, allocations: 0 / 341.1 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.1105, allocations: 32 kB / 341.1 MB, free: 5.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.1105, allocations: 12 kB / 341.1 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.1117, allocations: 0.5595 MB / 341.7 MB, free: 5.109 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.003171/0.1149, allocations: 2.123 MB / 343.8 MB, free: 2.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.1166, allocations: 0.9588 MB / 344.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.1172, allocations: 378.4 kB / 345.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.1173, allocations: 8.656 kB / 345.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.1174, allocations: 55.16 kB / 345.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.014e-06/0.1174, allocations: 0 / 345.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004496/0.1219, allocations: 1.738 MB / 346.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003689/0.1222, allocations: 0.8195 MB / 347.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/0.123, allocations: 0.645 MB / 348.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.1231, allocations: 45.7 kB / 348.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.1233, allocations: 334.6 kB / 348.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.1235, allocations: 248.3 kB / 349 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.1237, allocations: 146.6 kB / 349.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.124, allocations: 394.7 kB / 349.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.1245, allocations: 245.9 kB / 349.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.1252, allocations: 0.5234 MB / 350.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.1264, allocations: 0.6388 MB / 350.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1264, allocations: 0 / 350.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002321/0.1287, allocations: 1.048 MB / 352 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.774e-05/0.1288, allocations: 85.09 kB / 352.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1288, allocations: 4 kB / 352.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007125/0.1295, allocations: 247.2 kB / 352.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.1301, allocations: 123.9 kB / 352.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007494/0.1376, allocations: 6.931 MB / 359.4 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/0.1383, allocations: 87.38 kB / 359.5 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.1384, allocations: 35.92 kB / 359.5 MB, free: 2.027 MB / 302.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 (70): * Single equations (assignments): 63 * 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.0003688/0.1388, allocations: 213.7 kB / 359.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.1389, allocations: 90.97 kB / 359.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.1391, allocations: 87.34 kB / 359.9 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.1391, allocations: 15.92 kB / 359.9 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1391, allocations: 0 / 359.9 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002163/0.1413, allocations: 1.182 MB / 361.1 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.1447, allocations: 1.872 MB / 363 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1447, allocations: 0 / 363 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.1453, allocations: 131.8 kB / 363.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.1458, allocations: 194.6 kB / 363.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.1459, allocations: 23.92 kB / 363.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005639/0.1515, allocations: 5.311 MB / 368.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1515, allocations: 7.969 kB / 368.6 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.1542, allocations: 1.307 MB / 369.9 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.1546, allocations: 247.9 kB / 370.2 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.1547, allocations: 20.19 kB / 370.2 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.1553, allocations: 43.97 kB / 370.2 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.1555, allocations: 60.52 kB / 370.3 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.1555, allocations: 19.98 kB / 370.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005065/0.156, allocations: 459.1 kB / 370.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.156, allocations: 0 / 370.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007885/0.1568, allocations: 283.7 kB / 371 MB, free: 5.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001464/0.157, allocations: 127.2 kB / 371.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.159, allocations: 1.32 MB / 372.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1591, allocations: 4 kB / 372.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.16, allocations: 0.6952 MB / 373.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.161, allocations: 226.7 kB / 373.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.1637, allocations: 1.615 MB / 375 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.1642, allocations: 0.94 MB / 375.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003709/0.1645, allocations: 106.4 kB / 376.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.1647, allocations: 63.42 kB / 376.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1647, allocations: 0 / 376.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of Templates: time 0.1567/0.3214, allocations: 17.9 MB / 394 MB, free: 46.11 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)