Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.009475/0.009475, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.00215/0.00215, allocations: 195 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.606/1.606, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001312/0.001312, allocations: 53.83 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 46.61 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.007522/0.1109, allocations: 4.925 MB / 378.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.1142, allocations: 1.332 MB / 379.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.115, allocations: 8 kB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.1159, allocations: 166.5 kB / 379.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.1174, allocations: 325.2 kB / 379.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006943/0.1181, allocations: 231.6 kB / 380.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.1198, allocations: 1.16 MB / 381.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005396/0.1204, allocations: 329.9 kB / 381.6 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000662/0.1211, allocations: 450.4 kB / 382.1 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008408/0.1219, allocations: 0.4941 MB / 382.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.1221, allocations: 100 kB / 382.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.1224, allocations: 107.9 kB / 382.8 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.1226, allocations: 215.3 kB / 383 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004953/0.1231, allocations: 0.5211 MB / 383.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.1243, allocations: 1.179 MB / 384.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1243, allocations: 0 / 384.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1243, allocations: 0 / 384.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.1243, allocations: 0 / 384.7 MB, free: 5.754 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.002266/0.1266, allocations: 1.344 MB / 386 MB, free: 4.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1266, allocations: 8.031 kB / 386 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.1268, allocations: 112.3 kB / 386.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000791/0.1276, allocations: 0.5519 MB / 386.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.1278, allocations: 142.9 kB / 386.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.1279, allocations: 60.38 kB / 386.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.1292, allocations: 0.8471 MB / 387.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.1293, allocations: 4 kB / 387.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.1293, allocations: 28 kB / 387.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1294, allocations: 12 kB / 387.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.1305, allocations: 0.5595 MB / 388.3 MB, free: 1.859 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.0032/0.1337, allocations: 2.104 MB / 390.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.1355, allocations: 0.9723 MB / 391.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.1361, allocations: 366.7 kB / 391.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-05/0.1362, allocations: 12.59 kB / 391.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.1363, allocations: 55.22 kB / 391.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/0.1363, allocations: 0 / 391.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004772/0.141, allocations: 1.738 MB / 393.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000418/0.1415, allocations: 0.8234 MB / 394.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.1422, allocations: 0.6372 MB / 395 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-05/0.1423, allocations: 45.7 kB / 395.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.1426, allocations: 333.4 kB / 395.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.1428, allocations: 265.7 kB / 395.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.143, allocations: 150.7 kB / 395.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1432, allocations: 386.7 kB / 396.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.1437, allocations: 253.8 kB / 396.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007422/0.1445, allocations: 0.5195 MB / 397 MB, free: 8.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.1456, allocations: 0.6388 MB / 397.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1456, allocations: 0 / 397.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002331/0.1479, allocations: 1.056 MB / 398.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.148, allocations: 89.09 kB / 398.7 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.148, allocations: 0 / 398.7 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/0.1487, allocations: 239.2 kB / 399 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.1493, allocations: 123.9 kB / 399.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007525/0.1568, allocations: 6.931 MB / 406 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.1577, allocations: 91.52 kB / 406.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.1577, allocations: 31.98 kB / 406.1 MB, free: 14.78 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.0003413/0.1581, allocations: 213.7 kB / 406.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.1582, allocations: 91.72 kB / 406.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.1584, allocations: 95.31 kB / 406.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1584, allocations: 11.94 kB / 406.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1584, allocations: 0 / 406.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/0.1606, allocations: 1.182 MB / 407.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/0.1643, allocations: 1.867 MB / 409.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1643, allocations: 0 / 409.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/0.165, allocations: 131.8 kB / 409.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005836/0.1656, allocations: 194.5 kB / 409.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.1656, allocations: 15.98 kB / 409.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006675/0.1723, allocations: 5.307 MB / 415.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1724, allocations: 3.938 kB / 415.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.1757, allocations: 1.321 MB / 416.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/0.1761, allocations: 248.3 kB / 416.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1762, allocations: 20 kB / 416.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/0.1768, allocations: 43.91 kB / 416.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.177, allocations: 56.52 kB / 416.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.1771, allocations: 27.92 kB / 416.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005826/0.1777, allocations: 459.1 kB / 417.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1777, allocations: 0 / 417.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008469/0.1785, allocations: 283.8 kB / 417.7 MB, free: 2.574 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.0001678/0.1787, allocations: 131.2 kB / 417.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.1809, allocations: 1.293 MB / 419.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.1809, allocations: 4 kB / 419.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.1819, allocations: 0.6912 MB / 419.8 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.1829, allocations: 231.4 kB / 420 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.1859, allocations: 1.624 MB / 421.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.1865, allocations: 0.9401 MB / 422.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004208/0.1869, allocations: 102.4 kB / 422.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.1871, allocations: 63.44 kB / 422.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1871, allocations: 4 kB / 422.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.03073/0.2179, allocations: 18.09 MB / 440.8 MB, free: 11.17 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)