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.001108/0.001108, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001532/0.001532, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.0008042/0.0008043, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3402, allocations: 47.6 MB / 326.5 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004459/0.3447, allocations: 4.3 MB / 330.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.3478, allocations: 1.211 MB / 332 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007458/0.3486, allocations: 12.81 kB / 332 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.3491, allocations: 109.3 kB / 332.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008681/0.35, allocations: 282.2 kB / 332.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.3505, allocations: 169.1 kB / 332.5 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.3517, allocations: 1.016 MB / 333.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.3522, allocations: 279.9 kB / 333.8 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.3527, allocations: 390.3 kB / 334.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.3534, allocations: 444.4 kB / 334.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3535, allocations: 66.94 kB / 334.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.3537, allocations: 68 kB / 334.8 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.3539, allocations: 175.3 kB / 335 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.3541, allocations: 205.3 kB / 335.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008245/0.3549, allocations: 0.8608 MB / 336 MB, free: 9.887 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3549, allocations: 0 / 336 MB, free: 9.887 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3549, allocations: 0 / 336 MB, free: 9.887 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.355, allocations: 0 / 336 MB, free: 9.887 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.002376/0.3573, allocations: 1.169 MB / 337.2 MB, free: 8.648 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3574, allocations: 8.031 kB / 337.2 MB, free: 8.641 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.3576, allocations: 106.9 kB / 337.3 MB, free: 8.535 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007605/0.3583, allocations: 0.5154 MB / 337.8 MB, free: 7.977 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.3586, allocations: 154.4 kB / 338 MB, free: 7.805 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3587, allocations: 63.91 kB / 338 MB, free: 7.742 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.36, allocations: 0.8471 MB / 338.9 MB, free: 6.793 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.3601, allocations: 0 / 338.9 MB, free: 6.793 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.3601, allocations: 28 kB / 338.9 MB, free: 6.766 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.3601, allocations: 16 kB / 338.9 MB, free: 6.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.3614, allocations: 0.5712 MB / 339.5 MB, free: 6.18 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.003622/0.365, allocations: 2.131 MB / 341.6 MB, free: 3.949 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.3668, allocations: 0.9905 MB / 342.6 MB, free: 2.895 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006512/0.3674, allocations: 386.8 kB / 343 MB, free: 2.512 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.3675, allocations: 20.7 kB / 343 MB, free: 2.492 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3675, allocations: 47.22 kB / 343.1 MB, free: 2.438 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.384e-06/0.3676, allocations: 0 / 343.1 MB, free: 2.438 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.004554/0.3721, allocations: 1.879 MB / 344.9 MB, free: 476 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004212/0.3726, allocations: 0.8234 MB / 345.8 MB, free: 15.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007813/0.3734, allocations: 0.6371 MB / 346.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.3734, allocations: 49.7 kB / 346.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.3737, allocations: 330.7 kB / 346.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.374, allocations: 256.3 kB / 347 MB, free: 14.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.374, allocations: 12 kB / 347 MB, free: 14.15 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3742, allocations: 386.8 kB / 347.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.3747, allocations: 257.9 kB / 347.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/0.3756, allocations: 0.5312 MB / 348.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.3762, allocations: 392 kB / 348.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3762, allocations: 4 kB / 348.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002323/0.3786, allocations: 1.102 MB / 349.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.3786, allocations: 89.09 kB / 349.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3787, allocations: 4 kB / 349.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006767/0.3793, allocations: 247.3 kB / 350 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.3799, allocations: 131.8 kB / 350.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00741/0.3873, allocations: 6.495 MB / 356.6 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/0.3882, allocations: 111.3 kB / 356.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.3883, allocations: 27.88 kB / 356.8 MB, free: 3.676 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003755/0.3887, allocations: 221.8 kB / 357 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.3888, allocations: 91.02 kB / 357.1 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.389, allocations: 91.34 kB / 357.2 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.389, allocations: 4 kB / 357.2 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.389, allocations: 0 / 357.2 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002186/0.3912, allocations: 1.256 MB / 358.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.3951, allocations: 1.922 MB / 360.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3951, allocations: 0 / 360.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.3957, allocations: 135.7 kB / 360.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/0.3963, allocations: 218.6 kB / 360.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.3963, allocations: 12 kB / 360.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/0.4025, allocations: 4.985 MB / 365.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4026, allocations: 3.984 kB / 365.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.4057, allocations: 1.385 MB / 367.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/0.4064, allocations: 239.9 kB / 367.3 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.4066, allocations: 23.95 kB / 367.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.4073, allocations: 47.97 kB / 367.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.4075, allocations: 56.75 kB / 367.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.4076, allocations: 20 kB / 367.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006826/0.4083, allocations: 459 kB / 367.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4083, allocations: 0 / 367.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001065/0.4094, allocations: 283.7 kB / 368.2 MB, free: 7.605 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001965/0.4096, allocations: 123.1 kB / 368.3 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.4117, allocations: 1.313 MB / 369.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.4117, allocations: 0 / 369.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.4127, allocations: 0.7069 MB / 370.3 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.4139, allocations: 215.2 kB / 370.5 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.4172, allocations: 1.902 MB / 372.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.4179, allocations: 0.9401 MB / 373.4 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.4184, allocations: 106.4 kB / 373.5 MB, free: 2.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.4186, allocations: 67.36 kB / 373.5 MB, free: 2.039 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4186, allocations: 0 / 373.5 MB, free: 2.039 MB / 302.1 MB Notification: Performance of Templates: time 0.02987/0.4485, allocations: 15.89 MB / 389.4 MB, free: 2.117 MB / 318.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)