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.001382/0.001383, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001827/0.001827, allocations: 203.9 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.449/1.449, allocations: 227.7 MB / 247.2 MB, free: 10.19 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.002692/0.002692, allocations: 59.91 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2867, allocations: 50.54 MB / 409.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006263/0.293, allocations: 4.959 MB / 414 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.2956, allocations: 1.316 MB / 415.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.296, allocations: 11.94 kB / 415.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004612/0.2965, allocations: 166.6 kB / 415.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007149/0.2972, allocations: 313.3 kB / 415.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.2978, allocations: 223.6 kB / 416 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.2995, allocations: 1.168 MB / 417.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.3001, allocations: 322 kB / 417.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000629/0.3007, allocations: 442.4 kB / 418 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.3014, allocations: 0.498 MB / 418.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.3015, allocations: 104 kB / 418.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.3017, allocations: 100 kB / 418.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.3019, allocations: 223.2 kB / 418.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005175/0.3024, allocations: 0.5172 MB / 419.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.3037, allocations: 1.182 MB / 420.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3037, allocations: 4 kB / 420.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3037, allocations: 0 / 420.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3038, allocations: 0 / 420.6 MB, free: 5.805 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.002361/0.3061, allocations: 1.34 MB / 421.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.3062, allocations: 8.031 kB / 421.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.3064, allocations: 127.9 kB / 422 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.3066, allocations: 112.3 kB / 422.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/0.3075, allocations: 0.5558 MB / 422.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.3077, allocations: 146.9 kB / 422.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.653e-05/0.3078, allocations: 64.31 kB / 422.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.3093, allocations: 0.8626 MB / 423.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3094, allocations: 0 / 423.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.3094, allocations: 28 kB / 423.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.3095, allocations: 16 kB / 423.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.3107, allocations: 0.5634 MB / 424.4 MB, free: 1.75 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.003569/0.3143, allocations: 2.136 MB / 426.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.3161, allocations: 0.957 MB / 427.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/0.3169, allocations: 370.7 kB / 427.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.3169, allocations: 16.72 kB / 427.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.317, allocations: 47.16 kB / 427.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.568e-06/0.317, allocations: 3.984 kB / 427.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004901/0.3219, allocations: 1.746 MB / 429.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004758/0.3224, allocations: 0.8234 MB / 430.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/0.3233, allocations: 0.6372 MB / 431.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/0.3233, allocations: 45.7 kB / 431.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.3236, allocations: 341.4 kB / 431.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.3239, allocations: 273.6 kB / 431.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.3242, allocations: 138.7 kB / 431.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.3244, allocations: 386.8 kB / 432.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.3249, allocations: 253.8 kB / 432.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/0.3258, allocations: 0.5273 MB / 433 MB, free: 8.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.327, allocations: 0.6388 MB / 433.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.327, allocations: 0 / 433.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002535/0.3296, allocations: 1.052 MB / 434.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-05/0.3296, allocations: 85.11 kB / 434.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3297, allocations: 3.938 kB / 434.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.3304, allocations: 239.2 kB / 435.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.331, allocations: 123.8 kB / 435.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008535/0.3395, allocations: 6.936 MB / 442.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009115/0.3404, allocations: 95.52 kB / 442.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.3405, allocations: 20 kB / 442.2 MB, free: 14.64 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.0004042/0.3409, allocations: 219 kB / 442.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3411, allocations: 95.41 kB / 442.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.3413, allocations: 95.34 kB / 442.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3413, allocations: 8 kB / 442.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3413, allocations: 0 / 442.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002307/0.3437, allocations: 1.182 MB / 443.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/0.3475, allocations: 1.878 MB / 445.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3475, allocations: 0 / 445.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.3481, allocations: 127.9 kB / 445.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005458/0.3487, allocations: 202.6 kB / 446 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.3487, allocations: 19.98 kB / 446 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006705/0.3554, allocations: 5.315 MB / 451.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.3555, allocations: 0 / 451.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.3587, allocations: 1.321 MB / 452.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.3591, allocations: 244.3 kB / 452.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3593, allocations: 20 kB / 452.9 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/0.3599, allocations: 48.03 kB / 453 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.3601, allocations: 60.58 kB / 453 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.3601, allocations: 23.98 kB / 453.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000603/0.3607, allocations: 455.1 kB / 453.5 MB, free: 2.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3607, allocations: 7.938 kB / 453.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00094/0.3617, allocations: 283.8 kB / 453.8 MB, free: 2.406 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.00338/0.3651, allocations: 1.891 MB / 455.7 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.3674, allocations: 1.297 MB / 457 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.3674, allocations: 4 kB / 457 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.3685, allocations: 0.6871 MB / 457.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.3697, allocations: 238.2 kB / 457.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.3831, allocations: 7.454 MB / 465.4 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.3839, allocations: 0.9438 MB / 466.3 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005669/0.3845, allocations: 102.4 kB / 466.4 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.385, allocations: 295.3 kB / 466.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.385, allocations: 4 kB / 466.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07038/0.4553, allocations: 25.44 MB / 492.1 MB, free: 12.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/13.97, allocations: 10.11 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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)