Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.005872/0.005872, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001033/0.001033, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.001161/0.001161, allocations: 45.61 kB / 326.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 46.63 MB / 373.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00616/0.1141, allocations: 4.926 MB / 378.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.1168, allocations: 1.328 MB / 379.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.1171, allocations: 11.94 kB / 379.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.1177, allocations: 158.6 kB / 379.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006311/0.1183, allocations: 321.2 kB / 379.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.1188, allocations: 227.6 kB / 380.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1199, allocations: 1.157 MB / 381.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/0.1204, allocations: 337.9 kB / 381.6 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.1209, allocations: 446.4 kB / 382.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.1215, allocations: 0.498 MB / 382.6 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.1217, allocations: 100 kB / 382.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1218, allocations: 104 kB / 382.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.1221, allocations: 215.3 kB / 383 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005786/0.1227, allocations: 0.5172 MB / 383.5 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.1237, allocations: 1.176 MB / 384.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1238, allocations: 4 kB / 384.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1238, allocations: 0 / 384.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.1238, allocations: 0 / 384.7 MB, free: 5.855 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002193/0.126, allocations: 1.306 MB / 386 MB, free: 4.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.126, allocations: 8.031 kB / 386 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1262, allocations: 115.7 kB / 386.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/0.127, allocations: 0.5552 MB / 386.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.1272, allocations: 139 kB / 386.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.1274, allocations: 64.28 kB / 386.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.1288, allocations: 0.8432 MB / 387.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.1288, allocations: 4 kB / 387.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.1289, allocations: 28 kB / 387.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1289, allocations: 12 kB / 387.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.1304, allocations: 0.5595 MB / 388.3 MB, free: 1.996 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.003422/0.1338, allocations: 2.096 MB / 390.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.1357, allocations: 0.9606 MB / 391.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.1364, allocations: 370.7 kB / 391.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.947e-05/0.1365, allocations: 20.7 kB / 391.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.1366, allocations: 51.22 kB / 391.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.176e-06/0.1366, allocations: 0 / 391.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005222/0.1418, allocations: 1.73 MB / 393.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006108/0.1424, allocations: 0.8272 MB / 394.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.1434, allocations: 0.641 MB / 395 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-05/0.1435, allocations: 45.7 kB / 395 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.1438, allocations: 325.1 kB / 395.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.144, allocations: 260.2 kB / 395.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.1443, allocations: 142.7 kB / 395.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.1445, allocations: 394.7 kB / 396.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.1451, allocations: 241.9 kB / 396.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007729/0.1458, allocations: 0.5273 MB / 396.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.147, allocations: 0.6427 MB / 397.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.147, allocations: 0 / 397.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002569/0.1496, allocations: 1.051 MB / 398.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.1496, allocations: 81.11 kB / 398.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.1497, allocations: 4 kB / 398.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000731/0.1504, allocations: 247.1 kB / 398.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.151, allocations: 127.8 kB / 399 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00838/0.1594, allocations: 6.919 MB / 405.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.1604, allocations: 91.47 kB / 406 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.1605, allocations: 28 kB / 406.1 MB, free: 14.95 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 (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.0003808/0.1609, allocations: 225.6 kB / 406.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.161, allocations: 87.06 kB / 406.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.1612, allocations: 87.34 kB / 406.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1612, allocations: 11.94 kB / 406.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1612, allocations: 0 / 406.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002178/0.1634, allocations: 1.186 MB / 407.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/0.1669, allocations: 1.859 MB / 409.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.167, allocations: 0 / 409.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.1676, allocations: 131.8 kB / 409.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005299/0.1681, allocations: 194.6 kB / 409.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.1682, allocations: 16 kB / 409.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007024/0.1752, allocations: 5.315 MB / 415.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1752, allocations: 3.938 kB / 415.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.1784, allocations: 1.324 MB / 416.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005131/0.179, allocations: 235.9 kB / 416.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.1791, allocations: 20 kB / 416.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006108/0.1797, allocations: 43.95 kB / 416.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.1799, allocations: 56.58 kB / 416.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.18, allocations: 23.94 kB / 416.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007155/0.1807, allocations: 459 kB / 417.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1807, allocations: 0 / 417.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001048/0.1818, allocations: 287.6 kB / 417.6 MB, free: 2.75 MB / 350.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.0002032/0.182, allocations: 127.1 kB / 417.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.1842, allocations: 1.289 MB / 419 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.1842, allocations: 4 kB / 419 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.1852, allocations: 0.6913 MB / 419.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.1863, allocations: 239.3 kB / 419.9 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.1895, allocations: 1.595 MB / 421.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/0.1904, allocations: 0.94 MB / 422.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.1908, allocations: 102.4 kB / 422.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.1911, allocations: 71.42 kB / 422.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1911, allocations: 0 / 422.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of Templates: time 0.03085/0.222, allocations: 18.09 MB / 440.7 MB, free: 11.37 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)