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.001394/0.001394, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001811/0.001811, allocations: 186.9 kB / 16.25 MB, free: 6.629 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.561/1.561, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001821/0.001821, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3225, allocations: 46.62 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006153/0.3287, allocations: 4.947 MB / 329.8 MB, free: 14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.3316, allocations: 1.318 MB / 331.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006645/0.3323, allocations: 9.219 kB / 331.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.3328, allocations: 124.5 kB / 331.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007912/0.3336, allocations: 291.1 kB / 331.5 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.3341, allocations: 189.4 kB / 331.7 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.3353, allocations: 1.152 MB / 332.9 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.3357, allocations: 340.1 kB / 333.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.3362, allocations: 454.3 kB / 333.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.3367, allocations: 498.1 kB / 334.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.3368, allocations: 104 kB / 334.2 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.337, allocations: 104 kB / 334.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.3372, allocations: 227.2 kB / 334.5 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.3377, allocations: 0.5134 MB / 335.1 MB, free: 9.855 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.3387, allocations: 1.16 MB / 336.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3388, allocations: 0 / 336.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3388, allocations: 0 / 336.2 MB, free: 8.691 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.3388, allocations: 0 / 336.2 MB, free: 8.691 MB / 270.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.002238/0.341, allocations: 1.317 MB / 337.5 MB, free: 7.301 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3411, allocations: 8.031 kB / 337.5 MB, free: 7.293 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.3413, allocations: 107.8 kB / 337.7 MB, free: 7.188 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/0.342, allocations: 0.5474 MB / 338.2 MB, free: 6.598 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.3422, allocations: 147 kB / 338.3 MB, free: 6.438 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.373e-05/0.3423, allocations: 56.38 kB / 338.4 MB, free: 6.383 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.3436, allocations: 0.8433 MB / 339.2 MB, free: 5.438 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.3436, allocations: 0 / 339.2 MB, free: 5.438 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.3437, allocations: 28 kB / 339.3 MB, free: 5.41 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.3437, allocations: 16 kB / 339.3 MB, free: 5.395 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3448, allocations: 0.5517 MB / 339.8 MB, free: 4.844 MB / 270.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.003069/0.3479, allocations: 2.119 MB / 342 MB, free: 2.613 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.3496, allocations: 0.9711 MB / 342.9 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006694/0.3503, allocations: 370.4 kB / 343.3 MB, free: 1.215 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.3504, allocations: 20.7 kB / 343.3 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3504, allocations: 43.22 kB / 343.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.004e-06/0.3504, allocations: 0 / 343.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004994/0.3554, allocations: 1.734 MB / 345.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005524/0.356, allocations: 0.8234 MB / 345.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000945/0.357, allocations: 0.641 MB / 346.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.941e-05/0.3571, allocations: 45.7 kB / 346.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.3574, allocations: 329.1 kB / 346.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.3577, allocations: 256.3 kB / 347.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.3579, allocations: 146.6 kB / 347.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.3582, allocations: 392.3 kB / 347.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.3587, allocations: 241.9 kB / 347.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008278/0.3595, allocations: 0.5312 MB / 348.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.3607, allocations: 0.631 MB / 349.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3607, allocations: 3.938 kB / 349.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002326/0.363, allocations: 1.048 MB / 350.1 MB, free: 9.863 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.3631, allocations: 85.11 kB / 350.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3631, allocations: 0 / 350.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006617/0.3638, allocations: 239.2 kB / 350.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.3644, allocations: 131.8 kB / 350.6 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008073/0.3725, allocations: 6.939 MB / 357.5 MB, free: 1.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009112/0.3734, allocations: 99.28 kB / 357.6 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.3735, allocations: 23.98 kB / 357.6 MB, free: 1.766 MB / 286.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.0004266/0.3739, allocations: 213.8 kB / 357.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.3741, allocations: 87.06 kB / 357.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.3743, allocations: 91.28 kB / 358 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3743, allocations: 11.94 kB / 358 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3743, allocations: 0 / 358 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002384/0.3767, allocations: 1.19 MB / 359.2 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.3807, allocations: 1.864 MB / 361.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3807, allocations: 4 kB / 361.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.3813, allocations: 123.9 kB / 361.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/0.3819, allocations: 190.6 kB / 361.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.3819, allocations: 23.98 kB / 361.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006657/0.3886, allocations: 5.311 MB / 366.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3886, allocations: 3.938 kB / 366.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002878/0.3915, allocations: 1.315 MB / 368.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.3919, allocations: 243.9 kB / 368.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.392, allocations: 20 kB / 368.3 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.3927, allocations: 43.88 kB / 368.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.3928, allocations: 56.58 kB / 368.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.3929, allocations: 23.98 kB / 368.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005795/0.3935, allocations: 455.1 kB / 368.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3935, allocations: 0 / 368.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008779/0.3944, allocations: 287.7 kB / 369.2 MB, free: 5.57 MB / 302.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.0001791/0.3945, allocations: 127.5 kB / 369.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.3967, allocations: 1.324 MB / 370.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3967, allocations: 0 / 370.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009293/0.3976, allocations: 0.7029 MB / 371.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/0.3986, allocations: 231.2 kB / 371.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.4016, allocations: 1.87 MB / 373.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.4022, allocations: 0.9323 MB / 374.3 MB, free: 196 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004111/0.4026, allocations: 102.4 kB / 374.4 MB, free: 88 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.4028, allocations: 67.42 kB / 374.5 MB, free: 20 kB / 302.1 MB Notification: Performance of SimCode: time 2.054e-06/0.4028, allocations: 0 / 374.5 MB, free: 20 kB / 302.1 MB Notification: Performance of Templates: time 0.02721/0.43, allocations: 17.66 MB / 392.2 MB, free: 14.33 MB / 334.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)