Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001968/0.001969, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001976/0.001977, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.89 kB / 358.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2624, allocations: 50.54 MB / 409 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006132/0.2686, allocations: 4.951 MB / 414 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.2713, allocations: 1.32 MB / 415.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.2716, allocations: 11.94 kB / 415.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.2721, allocations: 166.6 kB / 415.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006093/0.2727, allocations: 313.2 kB / 415.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.2732, allocations: 227.6 kB / 416 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.2745, allocations: 1.16 MB / 417.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.275, allocations: 326 kB / 417.5 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.2755, allocations: 450.4 kB / 417.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.2761, allocations: 0.498 MB / 418.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.2763, allocations: 100 kB / 418.5 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.2765, allocations: 104 kB / 418.6 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.2767, allocations: 215.3 kB / 418.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.2772, allocations: 0.5172 MB / 419.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.2784, allocations: 1.186 MB / 420.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2784, allocations: 0 / 420.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2784, allocations: 0 / 420.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.2784, allocations: 0 / 420.5 MB, free: 5.824 MB / 334.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.002274/0.2807, allocations: 1.344 MB / 421.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2808, allocations: 15.97 kB / 421.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.281, allocations: 123.9 kB / 422 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.2812, allocations: 116.3 kB / 422.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.282, allocations: 0.5518 MB / 422.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.2822, allocations: 147 kB / 422.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.126e-05/0.2823, allocations: 64.38 kB / 422.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.2837, allocations: 0.8548 MB / 423.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.2837, allocations: 0 / 423.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.2838, allocations: 32 kB / 423.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.2838, allocations: 12 kB / 423.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.285, allocations: 0.5673 MB / 424.4 MB, free: 1.766 MB / 334.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.003407/0.2885, allocations: 2.136 MB / 426.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.2903, allocations: 0.9487 MB / 427.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/0.291, allocations: 378.6 kB / 427.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.098e-05/0.2911, allocations: 20.7 kB / 427.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.2911, allocations: 55.69 kB / 427.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.374e-06/0.2911, allocations: 0 / 427.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004926/0.2961, allocations: 1.738 MB / 429.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004579/0.2965, allocations: 0.8273 MB / 430.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008205/0.2974, allocations: 0.6333 MB / 431.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/0.2975, allocations: 45.64 kB / 431.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.2978, allocations: 345.3 kB / 431.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.298, allocations: 273.6 kB / 431.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.2982, allocations: 142.7 kB / 431.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.2985, allocations: 386.7 kB / 432.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.299, allocations: 253.9 kB / 432.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008358/0.2999, allocations: 0.5195 MB / 433 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.301, allocations: 0.6349 MB / 433.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3011, allocations: 4 kB / 433.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002522/0.3036, allocations: 1.056 MB / 434.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.3037, allocations: 85.11 kB / 434.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3037, allocations: 3.984 kB / 434.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007197/0.3044, allocations: 235.2 kB / 435 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.305, allocations: 123.9 kB / 435.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008603/0.3136, allocations: 6.941 MB / 442.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.3145, allocations: 91.52 kB / 442.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.3146, allocations: 27.98 kB / 442.2 MB, free: 14.65 MB / 366.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.0003633/0.3149, allocations: 217.7 kB / 442.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.3151, allocations: 99.42 kB / 442.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.3153, allocations: 87.34 kB / 442.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3153, allocations: 8 kB / 442.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3153, allocations: 0 / 442.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00229/0.3176, allocations: 1.19 MB / 443.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.3213, allocations: 1.867 MB / 445.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.3214, allocations: 8.062 kB / 445.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.322, allocations: 131.8 kB / 445.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005567/0.3225, allocations: 202.6 kB / 446 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.3226, allocations: 12 kB / 446 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006757/0.3293, allocations: 5.319 MB / 451.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.3294, allocations: 4.031 kB / 451.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.3325, allocations: 1.313 MB / 452.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.333, allocations: 248.3 kB / 452.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3331, allocations: 20 kB / 452.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.3337, allocations: 47.84 kB / 453 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.3339, allocations: 56.58 kB / 453 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.3339, allocations: 27.98 kB / 453 MB, free: 3.141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005948/0.3345, allocations: 459 kB / 453.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3345, allocations: 0 / 453.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008512/0.3354, allocations: 283.8 kB / 453.8 MB, free: 2.422 MB / 366.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.003423/0.3388, allocations: 1.897 MB / 455.7 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.3411, allocations: 1.289 MB / 457 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.3411, allocations: 0 / 457 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.3422, allocations: 0.6948 MB / 457.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.3434, allocations: 243.3 kB / 457.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.3566, allocations: 7.44 MB / 465.3 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.3573, allocations: 0.9477 MB / 466.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004906/0.3578, allocations: 110.4 kB / 466.4 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/0.3582, allocations: 291.3 kB / 466.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3582, allocations: 0 / 466.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06901/0.4272, allocations: 25.44 MB / 492.1 MB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.65, allocations: 6.188 kB / 492.1 MB, free: 12.12 MB / 414.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)