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.001619/0.001619, allocations: 120 kB / 18.5 MB, free: 4.52 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.001919/0.001919, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.547/1.547, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.002019/0.002019, allocations: 71.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1098, allocations: 53.32 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.2177/0.3275, allocations: 4.975 MB / 432 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.3303, allocations: 1.312 MB / 433.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.3308, allocations: 15.81 kB / 433.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.3313, allocations: 164.5 kB / 433.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006696/0.332, allocations: 331 kB / 433.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.3324, allocations: 224.9 kB / 434 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.3336, allocations: 1.156 MB / 435.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.334, allocations: 236 kB / 435.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.3347, allocations: 457 kB / 435.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.3354, allocations: 0.5027 MB / 436.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.3356, allocations: 102 kB / 436.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.3358, allocations: 107.6 kB / 436.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.336, allocations: 214.9 kB / 436.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006574/0.3367, allocations: 0.5139 MB / 437.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.3385, allocations: 1.185 MB / 438.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3385, allocations: 0.5156 kB / 438.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3385, allocations: 0 / 438.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.429e-05/0.3385, allocations: 0 / 438.5 MB, free: 6.051 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.002627/0.3411, allocations: 1.342 MB / 439.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3412, allocations: 8.969 kB / 439.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.3414, allocations: 123.7 kB / 439.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.3416, allocations: 116.1 kB / 440 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.3425, allocations: 0.5554 MB / 440.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.3427, allocations: 147.4 kB / 440.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.3428, allocations: 63.23 kB / 440.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3441, allocations: 0.8575 MB / 441.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3441, allocations: 1.312 kB / 441.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.3442, allocations: 29 kB / 441.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.3442, allocations: 18.38 kB / 441.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3455, allocations: 0.5634 MB / 442.3 MB, free: 3.68 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.00393/0.3494, allocations: 2.139 MB / 444.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.3511, allocations: 0.9088 MB / 445.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006583/0.3518, allocations: 335.5 kB / 445.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.3519, allocations: 15 kB / 445.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3519, allocations: 57.3 kB / 445.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.3519, allocations: 6.578 kB / 445.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004973/0.3569, allocations: 1.736 MB / 447.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002183/0.3571, allocations: 0.8229 MB / 448.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3581, allocations: 0.6335 MB / 448.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.3583, allocations: 46.16 kB / 449 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.3586, allocations: 344.4 kB / 449.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.3589, allocations: 268.6 kB / 449.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.3592, allocations: 149 kB / 449.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.3594, allocations: 392.6 kB / 450.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.36, allocations: 245.6 kB / 450.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/0.3609, allocations: 0.5208 MB / 450.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.3622, allocations: 0.6363 MB / 451.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3622, allocations: 0 / 451.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002932/0.3652, allocations: 1.044 MB / 452.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/0.3652, allocations: 84.67 kB / 452.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3653, allocations: 9.766 kB / 452.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/0.3661, allocations: 238.6 kB / 452.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.3667, allocations: 126.3 kB / 453 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009291/0.376, allocations: 6.921 MB / 459.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.3771, allocations: 99.19 kB / 460 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/0.3772, allocations: 24.88 kB / 460 MB, free: 6.816 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.0005006/0.3777, allocations: 218.1 kB / 460.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.3779, allocations: 94.05 kB / 460.3 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.3782, allocations: 91.94 kB / 460.4 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3782, allocations: 7.812 kB / 460.4 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.3782, allocations: 3.938 kB / 460.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00249/0.3807, allocations: 1.189 MB / 461.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004235/0.3849, allocations: 1.862 MB / 463.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3849, allocations: 0 / 463.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/0.3856, allocations: 129.4 kB / 463.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/0.3861, allocations: 202.6 kB / 463.8 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.3862, allocations: 12.44 kB / 463.8 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006946/0.3931, allocations: 5.321 MB / 469.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3931, allocations: 1.125 kB / 469.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.3964, allocations: 1.309 MB / 470.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.397, allocations: 250.4 kB / 470.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.3971, allocations: 19.34 kB / 470.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.3978, allocations: 46.38 kB / 470.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.398, allocations: 58.27 kB / 470.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.398, allocations: 27.08 kB / 470.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006274/0.3986, allocations: 454.6 kB / 471.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3986, allocations: 1.031 kB / 471.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.3997, allocations: 284.9 kB / 471.6 MB, free: 14.14 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.003581/0.4033, allocations: 1.893 MB / 473.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.4057, allocations: 1.26 MB / 474.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4057, allocations: 2.688 kB / 474.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.4068, allocations: 0.6763 MB / 475.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.4081, allocations: 238.5 kB / 475.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.4222, allocations: 7.428 MB / 483.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.4229, allocations: 0.9362 MB / 484 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005873/0.4235, allocations: 106.4 kB / 484.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.4239, allocations: 291.3 kB / 484.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.113e-06/0.4239, allocations: 0 / 484.4 MB, free: 4.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07392/0.4979, allocations: 25.59 MB / 0.498 GB, free: 11.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.8, allocations: 17.83 kB / 0.498 GB, free: 11.18 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.46240049507469] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 13.915301331318915 13.931493862 13.589588377 Calling exit ...