Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001828/0.001828, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002324/0.002324, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.OneMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.002017/0.002017, allocations: 68.77 kB / 378.5 MB, free: 3.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2491, allocations: 53.37 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005528/0.2546, allocations: 3.714 MB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2567, allocations: 1.012 MB / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.2569, allocations: 7.938 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.2573, allocations: 123 kB / 436.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.2578, allocations: 198.3 kB / 437 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.2581, allocations: 135.8 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000838/0.259, allocations: 0.6919 MB / 437.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.2592, allocations: 126.9 kB / 437.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.2596, allocations: 259.1 kB / 438.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.2599, allocations: 298.8 kB / 438.4 MB, free: 372 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.26, allocations: 56 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2601, allocations: 63.94 kB / 438.6 MB, free: 252 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2602, allocations: 127.5 kB / 438.7 MB, free: 124 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.2605, allocations: 310.5 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.2614, allocations: 0.6926 MB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2614, allocations: 4 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2614, allocations: 0 / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2614, allocations: 0 / 439.7 MB, free: 15.12 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00173/0.2631, allocations: 0.8333 MB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.2632, allocations: 11.97 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.2634, allocations: 79.33 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.2635, allocations: 68.56 kB / 440.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008548/0.2644, allocations: 377 kB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.2645, allocations: 118.3 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.2646, allocations: 36.31 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.2656, allocations: 484.9 kB / 441.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2656, allocations: 0 / 441.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.2657, allocations: 20 kB / 441.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.2657, allocations: 8 kB / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.2665, allocations: 346.3 kB / 442 MB, free: 12.62 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.002287/0.2688, allocations: 1.26 MB / 443.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.2696, allocations: 282.4 kB / 443.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.27, allocations: 172.8 kB / 443.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.27, allocations: 4 kB / 443.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.2701, allocations: 42.5 kB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.2701, allocations: 0 / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001599/0.2717, allocations: 0.5757 MB / 444.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003082/0.272, allocations: 452.9 kB / 444.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/0.2726, allocations: 453.9 kB / 445.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.2726, allocations: 33.7 kB / 445.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.2728, allocations: 244.6 kB / 445.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2729, allocations: 130.9 kB / 445.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.2731, allocations: 73.69 kB / 445.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.2733, allocations: 358.8 kB / 446.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.2737, allocations: 143.6 kB / 446.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.2742, allocations: 286.8 kB / 446.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.2749, allocations: 333.2 kB / 446.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2749, allocations: 3.938 kB / 446.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001091/0.276, allocations: 486.1 kB / 447.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.276, allocations: 29.7 kB / 447.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.276, allocations: 0 / 447.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.2762, allocations: 57.62 kB / 447.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.2766, allocations: 83.88 kB / 447.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.2794, allocations: 2.77 MB / 450.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.2799, allocations: 51.81 kB / 450.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.2799, allocations: 12 kB / 450.3 MB, free: 3.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.2802, allocations: 173.7 kB / 450.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2803, allocations: 51.72 kB / 450.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.2805, allocations: 48.77 kB / 450.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2805, allocations: 8 kB / 450.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2805, allocations: 3.938 kB / 450.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/0.2818, allocations: 0.7347 MB / 451.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.2835, allocations: 0.9885 MB / 452.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2835, allocations: 7.938 kB / 452.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.2839, allocations: 83.88 kB / 452.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2839, allocations: 0 / 452.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.284, allocations: 12 kB / 452.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.284, allocations: 0 / 452.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.284, allocations: 4 kB / 452.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.2853, allocations: 0.6489 MB / 453.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.2855, allocations: 99.52 kB / 453.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.2855, allocations: 8 kB / 453.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.2859, allocations: 27.97 kB / 453.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.286, allocations: 23.95 kB / 453.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.286, allocations: 11.98 kB / 453.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004584/0.2864, allocations: 323.1 kB / 453.5 MB, free: 368 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2864, allocations: 0 / 453.5 MB, free: 368 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004956/0.2869, allocations: 139.8 kB / 453.7 MB, free: 228 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001878/0.2888, allocations: 1.212 MB / 454.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.2902, allocations: 0.6217 MB / 455.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.2903, allocations: 0 / 455.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.2907, allocations: 167.8 kB / 455.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.2914, allocations: 146 kB / 455.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/0.2994, allocations: 4.521 MB / 460.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.3, allocations: 0.8353 MB / 461.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00031/0.3003, allocations: 56.36 kB / 461.2 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.3007, allocations: 179.4 kB / 461.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3007, allocations: 0 / 461.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05616/0.3569, allocations: 13.95 MB / 475.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.94, allocations: 4 kB / 475.4 MB, free: 10.61 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_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_OneMass.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.439336411189288] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.038979358971119 13.056609355 12.79133923 Calling exit ...