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.001409/0.001409, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001434/0.001434, allocations: 212 kB / 24.54 MB, free: 4.016 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.001964/0.001964, allocations: 68.77 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.264, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006474/0.2705, allocations: 5.09 MB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.2734, allocations: 1.345 MB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.2738, allocations: 11.94 kB / 438.4 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.2743, allocations: 166.5 kB / 438.5 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.2751, allocations: 337.3 kB / 438.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.2756, allocations: 231.5 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.2771, allocations: 1.176 MB / 440.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.2775, allocations: 218.6 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006957/0.2782, allocations: 466.3 kB / 440.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.2789, allocations: 0.5058 MB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.2791, allocations: 108 kB / 441.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.2793, allocations: 104 kB / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.2795, allocations: 231.2 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.2801, allocations: 0.5211 MB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.2815, allocations: 1.202 MB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2815, allocations: 4 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2815, allocations: 0 / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.2815, allocations: 0 / 443.6 MB, free: 11.14 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.002655/0.2842, allocations: 1.292 MB / 444.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.2842, allocations: 15.97 kB / 444.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.2844, allocations: 119.9 kB / 445 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.2846, allocations: 108.3 kB / 445.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.2856, allocations: 0.5312 MB / 445.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.2859, allocations: 301.2 kB / 445.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.286, allocations: 63.94 kB / 446 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.2876, allocations: 0.8673 MB / 446.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.2876, allocations: 3.953 kB / 446.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.2877, allocations: 31.94 kB / 446.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2877, allocations: 12 kB / 446.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.2892, allocations: 0.6102 MB / 447.5 MB, free: 6.953 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.003802/0.293, allocations: 2.046 MB / 449.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.2943, allocations: 0.5854 MB / 450.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/0.2951, allocations: 359.5 kB / 450.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.737e-05/0.2951, allocations: 16.62 kB / 450.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.2952, allocations: 47.22 kB / 450.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.2952, allocations: 0 / 450.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005193/0.3004, allocations: 1.492 MB / 452.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004408/0.3008, allocations: 0.8234 MB / 452.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/0.3018, allocations: 0.6371 MB / 453.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.3019, allocations: 45.7 kB / 453.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.3022, allocations: 349.3 kB / 453.9 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.3025, allocations: 269.7 kB / 454.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.3028, allocations: 146.7 kB / 454.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.303, allocations: 386.7 kB / 454.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.3037, allocations: 269.8 kB / 455 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/0.3047, allocations: 0.5545 MB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.3061, allocations: 0.6778 MB / 456.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.3061, allocations: 0 / 456.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003009/0.3092, allocations: 1.087 MB / 457.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.658e-05/0.3092, allocations: 95.75 kB / 457.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3093, allocations: 4 kB / 457.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007427/0.31, allocations: 235.2 kB / 457.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.3107, allocations: 139.8 kB / 457.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008514/0.3192, allocations: 6.522 MB / 464.3 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009505/0.3201, allocations: 95.61 kB / 464.4 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.3202, allocations: 24 kB / 464.4 MB, free: 5.082 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.0003982/0.3206, allocations: 230.3 kB / 464.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.3208, allocations: 91.42 kB / 464.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.3209, allocations: 91.34 kB / 464.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3209, allocations: 4 kB / 464.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.321, allocations: 4 kB / 464.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002596/0.3236, allocations: 1.229 MB / 466 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.3275, allocations: 1.892 MB / 467.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3275, allocations: 0 / 467.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/0.3282, allocations: 147.8 kB / 468.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005502/0.3288, allocations: 194.5 kB / 468.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.3288, allocations: 20.11 kB / 468.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006897/0.3357, allocations: 5.047 MB / 473.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3357, allocations: 240 / 473.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.3391, allocations: 1.392 MB / 474.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.3396, allocations: 167.2 kB / 474.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.3397, allocations: 24 kB / 474.9 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.3404, allocations: 47.94 kB / 474.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.3406, allocations: 72.47 kB / 475 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.3406, allocations: 16 kB / 475 MB, free: 9.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006199/0.3412, allocations: 459 kB / 475.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3412, allocations: 4 kB / 475.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008577/0.3421, allocations: 287.7 kB / 475.8 MB, free: 9.141 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.00372/0.3458, allocations: 1.959 MB / 477.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00244/0.3482, allocations: 1.32 MB / 479 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.3483, allocations: 4.109 kB / 479 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.3497, allocations: 0.7417 MB / 479.8 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.3508, allocations: 234.9 kB / 480 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.3648, allocations: 7.538 MB / 487.5 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.3654, allocations: 0.9479 MB / 488.5 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.3659, allocations: 98.44 kB / 488.6 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.3663, allocations: 311.3 kB / 488.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3663, allocations: 0 / 488.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07485/0.4412, allocations: 26.58 MB / 0.5034 GB, free: 1.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.15, allocations: 8 kB / 0.5034 GB, free: 1.438 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.63191291829571] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 14.263533112127334 14.286619147 14.000890227 Calling exit ...