Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001719/0.001719, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.00202/0.00202, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.498/1.498, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.TwoMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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.001967/0.001967, allocations: 75.81 kB / 373.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1137, allocations: 53.33 MB / 427 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.2109/0.3246, allocations: 5.067 MB / 432.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.3283, allocations: 1.334 MB / 433.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000723/0.3291, allocations: 14.75 kB / 433.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006707/0.3297, allocations: 165.9 kB / 433.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.331, allocations: 333.9 kB / 433.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.3317, allocations: 230.2 kB / 434.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.3335, allocations: 1.178 MB / 435.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.3339, allocations: 224.3 kB / 435.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.3345, allocations: 465.3 kB / 436 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.3351, allocations: 0.5085 MB / 436.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.3352, allocations: 103.3 kB / 436.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.3355, allocations: 106.4 kB / 436.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.3357, allocations: 221.1 kB / 436.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006232/0.3363, allocations: 0.5235 MB / 437.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3381, allocations: 1.202 MB / 438.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3381, allocations: 0 / 438.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3381, allocations: 0 / 438.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.3381, allocations: 1.094 kB / 438.6 MB, free: 5.953 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002898/0.341, allocations: 1.367 MB / 440 MB, free: 5.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3411, allocations: 9.094 kB / 440 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.3412, allocations: 119.7 kB / 440.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.3415, allocations: 115.6 kB / 440.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3425, allocations: 0.5974 MB / 440.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.3427, allocations: 145.9 kB / 441 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.3428, allocations: 65.7 kB / 441 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.3443, allocations: 0.8568 MB / 441.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.3443, allocations: 1.219 kB / 441.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.3444, allocations: 34.88 kB / 441.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.3444, allocations: 14.56 kB / 442 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.346, allocations: 0.6091 MB / 442.6 MB, free: 3.562 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.004203/0.3502, allocations: 2.09 MB / 444.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.3515, allocations: 0.8019 MB / 445.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/0.3523, allocations: 358.5 kB / 445.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/0.3524, allocations: 14.36 kB / 445.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3524, allocations: 45.41 kB / 445.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.376e-06/0.3524, allocations: 1.375 kB / 445.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005292/0.3577, allocations: 1.798 MB / 447.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002388/0.3579, allocations: 0.8222 MB / 448.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.359, allocations: 0.6338 MB / 449.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.3591, allocations: 45.58 kB / 449.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.3594, allocations: 342 kB / 449.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.3597, allocations: 270.8 kB / 449.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.36, allocations: 148.8 kB / 449.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.3602, allocations: 387.5 kB / 450.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007385/0.361, allocations: 275.6 kB / 450.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.362, allocations: 0.5515 MB / 451.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.3635, allocations: 0.6778 MB / 451.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3635, allocations: 1.312 kB / 451.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002951/0.3665, allocations: 1.092 MB / 452.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/0.3665, allocations: 84.91 kB / 453 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3666, allocations: 3.766 kB / 453 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/0.3673, allocations: 235.9 kB / 453.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/0.368, allocations: 147.2 kB / 453.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008929/0.3769, allocations: 6.938 MB / 460.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3782, allocations: 99.73 kB / 460.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/0.3783, allocations: 27.14 kB / 460.4 MB, free: 6.73 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 (69): * Single equations (assignments): 62 * 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.0005329/0.3788, allocations: 221.5 kB / 460.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.379, allocations: 95.81 kB / 460.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.3792, allocations: 89.05 kB / 460.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3792, allocations: 6.938 kB / 460.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3792, allocations: 1 kB / 460.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002721/0.3819, allocations: 1.231 MB / 462 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/0.3863, allocations: 1.922 MB / 464 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3863, allocations: 3.984 kB / 464 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/0.3871, allocations: 141.4 kB / 464.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005671/0.3877, allocations: 195.3 kB / 464.3 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.3877, allocations: 22.44 kB / 464.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007691/0.3954, allocations: 5.352 MB / 469.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3954, allocations: 0 / 469.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/0.3993, allocations: 1.39 MB / 471.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006401/0.3999, allocations: 241.2 kB / 471.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.4001, allocations: 23.2 kB / 471.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/0.4007, allocations: 48.8 kB / 471.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.4009, allocations: 62.11 kB / 471.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.401, allocations: 22.14 kB / 471.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006814/0.4017, allocations: 455.8 kB / 471.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4017, allocations: 0 / 471.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001099/0.4028, allocations: 287.6 kB / 472.2 MB, free: 13.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.003876/0.4066, allocations: 1.964 MB / 474.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.4093, allocations: 1.323 MB / 475.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.4094, allocations: 2.188 kB / 475.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.4108, allocations: 0.7423 MB / 476.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.4121, allocations: 237.9 kB / 476.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.426, allocations: 7.541 MB / 484 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.4266, allocations: 0.9439 MB / 484.9 MB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005432/0.4272, allocations: 102.4 kB / 485 MB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.4276, allocations: 303.3 kB / 485.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4276, allocations: 0 / 485.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07413/0.5017, allocations: 26.11 MB / 0.4994 GB, free: 9.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.7, allocations: 0 / 0.4994 GB, free: 9.719 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_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_TwoMass.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.334507207851857] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 13.811510959174484 13.828858477 13.486297913 Calling exit ...