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.001062/0.001063, allocations: 112.8 kB / 17.06 MB, free: 6.004 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.001171/0.001171, allocations: 200 kB / 18 MB, free: 5.082 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.497/1.497, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001271/0.001272, allocations: 55.92 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.0973, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.2203/0.3176, allocations: 4.929 MB / 379.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.3202, allocations: 1.335 MB / 380.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.3206, allocations: 9.625 kB / 380.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.321, allocations: 168.8 kB / 380.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007191/0.3218, allocations: 319 kB / 381.2 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.3224, allocations: 226.9 kB / 381.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.3243, allocations: 1.153 MB / 382.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005999/0.3249, allocations: 339.3 kB / 382.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.3256, allocations: 447.7 kB / 383.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.3263, allocations: 0.4913 MB / 383.9 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.3265, allocations: 101.4 kB / 384 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.3267, allocations: 103.5 kB / 384.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.3269, allocations: 228.4 kB / 384.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.3274, allocations: 0.5091 MB / 384.8 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.3287, allocations: 1.178 MB / 386 MB, free: 8.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3287, allocations: 1.031 kB / 386 MB, free: 8.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3287, allocations: 0 / 386 MB, free: 8.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.3287, allocations: 7.938 kB / 386 MB, free: 8.066 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.002444/0.3312, allocations: 1.311 MB / 387.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3312, allocations: 10.25 kB / 387.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.3314, allocations: 110.6 kB / 387.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009296/0.3324, allocations: 0.5429 MB / 388 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.3326, allocations: 143.3 kB / 388.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3327, allocations: 60.22 kB / 388.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.3341, allocations: 0.8429 MB / 389 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.3342, allocations: 1.156 kB / 389 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.3342, allocations: 33.25 kB / 389 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.3343, allocations: 17.97 kB / 389 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3355, allocations: 0.5496 MB / 389.6 MB, free: 5.836 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.003433/0.339, allocations: 2.098 MB / 391.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.3408, allocations: 0.971 MB / 392.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006561/0.3414, allocations: 367.2 kB / 393 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.477e-05/0.3415, allocations: 19.44 kB / 393 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3416, allocations: 51.02 kB / 393.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.3416, allocations: 3.938 kB / 393.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004763/0.3463, allocations: 1.732 MB / 394.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/0.3466, allocations: 0.8234 MB / 395.6 MB, free: 2.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/0.3475, allocations: 0.6332 MB / 396.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.534e-05/0.3476, allocations: 44.95 kB / 396.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.3479, allocations: 337.7 kB / 396.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.3481, allocations: 252.1 kB / 396.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.3483, allocations: 144.7 kB / 397 MB, free: 1.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3485, allocations: 393.2 kB / 397.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.349, allocations: 246.2 kB / 397.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.3497, allocations: 0.5283 MB / 398.2 MB, free: 344 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3508, allocations: 0.6364 MB / 398.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3508, allocations: 1.219 kB / 398.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00241/0.3532, allocations: 1.051 MB / 399.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.128e-05/0.3533, allocations: 86.72 kB / 400 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3533, allocations: 1.25 kB / 400 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/0.354, allocations: 234.7 kB / 400.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.3546, allocations: 125.7 kB / 400.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0081/0.3627, allocations: 6.933 MB / 407.3 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.3639, allocations: 98.56 kB / 407.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.364, allocations: 20.78 kB / 407.4 MB, free: 8.867 MB / 334.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.0004648/0.3645, allocations: 220.8 kB / 407.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.3647, allocations: 84.84 kB / 407.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.3649, allocations: 93 kB / 407.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.3649, allocations: 11.84 kB / 407.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.3649, allocations: 0 / 407.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002309/0.3672, allocations: 1.188 MB / 409 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/0.3711, allocations: 1.866 MB / 410.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3711, allocations: 8.859 kB / 410.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.3717, allocations: 124 kB / 411 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.3723, allocations: 203.8 kB / 411.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.3723, allocations: 16.31 kB / 411.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006577/0.3789, allocations: 5.298 MB / 416.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.379, allocations: 7 kB / 416.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.3821, allocations: 1.318 MB / 417.8 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/0.3826, allocations: 237 kB / 418 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3827, allocations: 16.09 kB / 418 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.3833, allocations: 36.94 kB / 418.1 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.3835, allocations: 67.66 kB / 418.1 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.3836, allocations: 18.56 kB / 418.2 MB, free: 140 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000643/0.3842, allocations: 458.2 kB / 418.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3842, allocations: 4 kB / 418.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001013/0.3852, allocations: 281.8 kB / 418.9 MB, free: 15.83 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.0002086/0.3855, allocations: 125.4 kB / 419 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.3876, allocations: 1.301 MB / 420.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.3877, allocations: 5.375 kB / 420.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.3887, allocations: 0.6942 MB / 421 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3898, allocations: 234.8 kB / 421.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.3926, allocations: 1.596 MB / 422.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.3932, allocations: 0.9362 MB / 423.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004358/0.3936, allocations: 110.4 kB / 423.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.3938, allocations: 63.42 kB / 423.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3938, allocations: 0 / 423.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Templates: time 0.02864/0.4225, allocations: 18.65 MB / 442.6 MB, free: 8.781 MB / 366.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)