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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 217.3 kB / 24.54 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.002015/0.002015, allocations: 64.77 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2632, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.007236/0.2705, allocations: 4.991 MB / 436.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.2733, allocations: 1.329 MB / 438.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.2737, allocations: 11.94 kB / 438.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.2742, allocations: 162.5 kB / 438.4 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006584/0.2748, allocations: 333.3 kB / 438.7 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.2753, allocations: 223.6 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.2769, allocations: 1.16 MB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.2773, allocations: 226.6 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.2779, allocations: 458.4 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.2787, allocations: 0.498 MB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.2788, allocations: 108 kB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.279, allocations: 100 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.2792, allocations: 223.2 kB / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.2797, allocations: 0.5172 MB / 442.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.2812, allocations: 1.186 MB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2812, allocations: 0 / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2812, allocations: 0 / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.2812, allocations: 4 kB / 443.4 MB, free: 11.32 MB / 350.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.002622/0.2839, allocations: 1.261 MB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2839, allocations: 12.03 kB / 444.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/0.2841, allocations: 127.9 kB / 444.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.2843, allocations: 112.3 kB / 444.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/0.2853, allocations: 0.4915 MB / 445.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004319/0.2857, allocations: 301.2 kB / 445.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2858, allocations: 60.38 kB / 445.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.2874, allocations: 0.8555 MB / 446.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.2874, allocations: 3.953 kB / 446.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.2875, allocations: 32 kB / 446.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.2875, allocations: 16 kB / 446.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.2888, allocations: 0.5673 MB / 447.2 MB, free: 7.25 MB / 350.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.00403/0.2928, allocations: 2.081 MB / 449.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.2947, allocations: 0.7047 MB / 450 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.2954, allocations: 334.8 kB / 450.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.2955, allocations: 12.66 kB / 450.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.2955, allocations: 63.09 kB / 450.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.565e-06/0.2956, allocations: 3.938 kB / 450.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004988/0.3005, allocations: 1.433 MB / 451.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005557/0.3011, allocations: 0.8234 MB / 452.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.3021, allocations: 0.641 MB / 453.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/0.3022, allocations: 45.7 kB / 453.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.3025, allocations: 341.4 kB / 453.7 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.3028, allocations: 265.6 kB / 454 MB, free: 172 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.303, allocations: 146.7 kB / 454.1 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.3032, allocations: 390.8 kB / 454.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.3038, allocations: 241.9 kB / 454.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008557/0.3046, allocations: 0.5312 MB / 455.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.306, allocations: 0.6349 MB / 455.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.306, allocations: 4 kB / 455.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002782/0.3088, allocations: 1.04 MB / 456.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.3089, allocations: 89.11 kB / 457 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3089, allocations: 0 / 457 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007404/0.3096, allocations: 239.2 kB / 457.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.3102, allocations: 127.8 kB / 457.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009124/0.3193, allocations: 6.515 MB / 463.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008865/0.3202, allocations: 91.52 kB / 464 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.3203, allocations: 27.98 kB / 464 MB, free: 5.449 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.0003841/0.3207, allocations: 221.7 kB / 464.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.3209, allocations: 99.59 kB / 464.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.321, allocations: 91.33 kB / 464.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3211, allocations: 8 kB / 464.4 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3211, allocations: 3.984 kB / 464.4 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002361/0.3234, allocations: 1.179 MB / 465.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/0.3273, allocations: 1.843 MB / 467.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3273, allocations: 4 kB / 467.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.3279, allocations: 123.9 kB / 467.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005527/0.3284, allocations: 206.3 kB / 467.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.3285, allocations: 16 kB / 467.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006591/0.3351, allocations: 5.005 MB / 472.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.3351, allocations: 3.984 kB / 472.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.3383, allocations: 1.309 MB / 474.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.3387, allocations: 163.2 kB / 474.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.3388, allocations: 24 kB / 474.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.3394, allocations: 47.89 kB / 474.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.3396, allocations: 60.48 kB / 474.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.3397, allocations: 16 kB / 474.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006185/0.3403, allocations: 463 kB / 474.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3403, allocations: 0 / 474.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008886/0.3412, allocations: 287.8 kB / 475.1 MB, free: 9.738 MB / 382.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.003394/0.3446, allocations: 1.884 MB / 477 MB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.3468, allocations: 1.25 MB / 478.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3468, allocations: 4 kB / 478.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.3479, allocations: 0.6678 MB / 478.9 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.3491, allocations: 239.1 kB / 479.2 MB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.3618, allocations: 7.435 MB / 486.6 MB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.3625, allocations: 0.9438 MB / 487.6 MB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004602/0.363, allocations: 110.4 kB / 487.7 MB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.3634, allocations: 295.3 kB / 488 MB, free: 12.52 MB / 398.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3634, allocations: 0 / 488 MB, free: 12.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07363/0.437, allocations: 26.08 MB / 0.502 GB, free: 2.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.01, allocations: 11.36 kB / 0.502 GB, free: 2.84 MB / 414.1 MB " [Timeout remaining time 646] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.487726057879627] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 14.122190493158996 14.146272614 13.861509244 Calling exit ...