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.001243/0.001243, allocations: 113.2 kB / 20.22 MB, free: 1.793 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.001365/0.001365, allocations: 216.7 kB / 23.48 MB, free: 5.227 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.411/1.411, allocations: 230.4 MB / 257 MB, free: 8.246 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.001852/0.001852, allocations: 63.89 kB / 377.1 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2464, allocations: 53.32 MB / 430.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006533/0.2529, allocations: 4.979 MB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.2557, allocations: 1.324 MB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.256, allocations: 15.94 kB / 436.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.2565, allocations: 166.5 kB / 436.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006395/0.2571, allocations: 325.3 kB / 437.2 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.2576, allocations: 223.6 kB / 437.4 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.2588, allocations: 1.164 MB / 438.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.2593, allocations: 231.1 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.2598, allocations: 446.5 kB / 439.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.2604, allocations: 0.5019 MB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.2605, allocations: 104 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.2607, allocations: 104 kB / 439.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.2609, allocations: 215.2 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.2614, allocations: 0.5094 MB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.2627, allocations: 1.182 MB / 441.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2628, allocations: 0 / 441.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2628, allocations: 0 / 441.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.2628, allocations: 0 / 441.8 MB, free: 11.69 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.002489/0.2653, allocations: 1.344 MB / 443.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.2653, allocations: 12.03 kB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.2655, allocations: 127.8 kB / 443.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.2657, allocations: 116.3 kB / 443.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009178/0.2666, allocations: 0.5596 MB / 444 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.2668, allocations: 147 kB / 444.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.267, allocations: 60.38 kB / 444.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.2683, allocations: 0.8587 MB / 445 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.2684, allocations: 7.938 kB / 445.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.2684, allocations: 28 kB / 445.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.2685, allocations: 16 kB / 445.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.2696, allocations: 0.5595 MB / 445.7 MB, free: 7.625 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.003445/0.2731, allocations: 2.136 MB / 447.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.2749, allocations: 0.9131 MB / 448.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.2755, allocations: 330.7 kB / 449 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.508e-05/0.2756, allocations: 24.7 kB / 449.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.2756, allocations: 51.16 kB / 449.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.795e-06/0.2756, allocations: 0 / 449.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004796/0.2804, allocations: 1.738 MB / 450.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004284/0.2808, allocations: 0.8234 MB / 451.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008132/0.2817, allocations: 0.6375 MB / 452.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.501e-05/0.2817, allocations: 45.7 kB / 452.3 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.282, allocations: 345.4 kB / 452.7 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.2823, allocations: 269.8 kB / 453 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.2825, allocations: 146.7 kB / 453.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.2827, allocations: 382.8 kB / 453.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.2833, allocations: 245.9 kB / 453.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008241/0.2841, allocations: 0.5351 MB / 454.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.2852, allocations: 0.631 MB / 454.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2852, allocations: 3.938 kB / 454.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002445/0.2877, allocations: 1.052 MB / 455.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.2877, allocations: 89.09 kB / 456 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2877, allocations: 0 / 456 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007363/0.2885, allocations: 231.3 kB / 456.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.2891, allocations: 131.8 kB / 456.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008394/0.2975, allocations: 6.929 MB / 463.3 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/0.2984, allocations: 103.5 kB / 463.4 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.2985, allocations: 27.98 kB / 463.4 MB, free: 4.598 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.000393/0.2989, allocations: 213.7 kB / 463.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.299, allocations: 87.48 kB / 463.7 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.2992, allocations: 91.34 kB / 463.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2992, allocations: 8.188 kB / 463.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.2992, allocations: 7.984 kB / 463.8 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002274/0.3015, allocations: 1.182 MB / 465 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.3054, allocations: 1.871 MB / 466.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3054, allocations: 0 / 466.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.306, allocations: 123.9 kB / 467 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/0.3066, allocations: 194.6 kB / 467.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.3066, allocations: 16 kB / 467.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006571/0.3132, allocations: 5.319 MB / 472.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3132, allocations: 0 / 472.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.3163, allocations: 1.324 MB / 473.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.3169, allocations: 244.3 kB / 474.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.317, allocations: 20 kB / 474.1 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.3175, allocations: 43.91 kB / 474.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.3177, allocations: 56.56 kB / 474.2 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.3178, allocations: 23.94 kB / 474.2 MB, free: 9.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006189/0.3184, allocations: 463 kB / 474.7 MB, free: 8.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3184, allocations: 4 kB / 474.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009008/0.3193, allocations: 283.8 kB / 475 MB, free: 8.383 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.003311/0.3226, allocations: 1.872 MB / 476.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.3247, allocations: 1.27 MB / 478.1 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.3247, allocations: 4 kB / 478.1 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.3257, allocations: 0.6795 MB / 478.8 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.3269, allocations: 222.9 kB / 479 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.3396, allocations: 7.438 MB / 486.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.3402, allocations: 0.9438 MB / 487.4 MB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004575/0.3406, allocations: 102.4 kB / 487.5 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.341, allocations: 299.3 kB / 487.8 MB, free: 11.17 MB / 398.1 MB Notification: Performance of SimCode: time 1.193e-06/0.341, allocations: 0 / 487.8 MB, free: 11.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07202/0.413, allocations: 25.68 MB / 0.5014 GB, free: 1.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.6, allocations: 4.25 kB / 0.5014 GB, free: 1.879 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 & /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 --stepSize=0.001 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.892170187085867] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 13.707036147126928 13.734557045 13.466756049 Calling exit ...