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.001666/0.001666, 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.002056/0.002056, 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.002984/0.002984, allocations: 72.89 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2589, allocations: 53.36 MB / 431.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005165/0.2641, allocations: 3.719 MB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.2661, allocations: 1.016 MB / 436.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.2663, allocations: 7.938 kB / 436.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.2666, allocations: 115 kB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.267, allocations: 202.3 kB / 437 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.2673, allocations: 131.8 kB / 437.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000821/0.2681, allocations: 0.688 MB / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.2684, allocations: 132 kB / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.2687, allocations: 259.1 kB / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.2691, allocations: 302.7 kB / 438.4 MB, free: 456 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.2692, allocations: 56 kB / 438.5 MB, free: 400 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.2693, allocations: 60 kB / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2694, allocations: 131.5 kB / 438.7 MB, free: 208 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.2697, allocations: 310.6 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.2704, allocations: 0.6922 MB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2704, allocations: 0 / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2704, allocations: 0 / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2705, allocations: 0 / 439.7 MB, free: 15.21 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.001563/0.272, allocations: 0.8356 MB / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2721, allocations: 11.97 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.2722, allocations: 83.27 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2723, allocations: 68.56 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.2731, allocations: 381 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.2732, allocations: 110.3 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2733, allocations: 36.38 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008728/0.2742, allocations: 484.9 kB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2742, allocations: 4 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.2742, allocations: 19.94 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2742, allocations: 8 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.2751, allocations: 346.4 kB / 442 MB, free: 12.71 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.002087/0.2772, allocations: 1.256 MB / 443.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.2778, allocations: 281.2 kB / 443.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.2782, allocations: 176.7 kB / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.2783, allocations: 4 kB / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.2783, allocations: 38.56 kB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.2783, allocations: 0 / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00154/0.2799, allocations: 0.5757 MB / 444.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002512/0.2801, allocations: 452.9 kB / 444.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.2807, allocations: 461.9 kB / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.2807, allocations: 33.7 kB / 445.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.2809, allocations: 252.6 kB / 445.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.281, allocations: 118.9 kB / 445.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.2812, allocations: 73.69 kB / 445.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2813, allocations: 358.8 kB / 446.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.2817, allocations: 143.7 kB / 446.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.2822, allocations: 286.8 kB / 446.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.2829, allocations: 329.2 kB / 446.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.2829, allocations: 4 kB / 446.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009954/0.2839, allocations: 490 kB / 447.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.284, allocations: 29.7 kB / 447.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.284, allocations: 4 kB / 447.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.2842, allocations: 57.72 kB / 447.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.2846, allocations: 83.88 kB / 447.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.2872, allocations: 2.766 MB / 450.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.2876, allocations: 47.81 kB / 450.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.2876, allocations: 23.92 kB / 450.3 MB, free: 3.863 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.0002334/0.2879, allocations: 169.8 kB / 450.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.288, allocations: 51.72 kB / 450.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.2881, allocations: 52.7 kB / 450.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.2881, allocations: 4 kB / 450.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2881, allocations: 3.938 kB / 450.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009877/0.2891, allocations: 0.7309 MB / 451.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.2907, allocations: 0.9846 MB / 452.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.2907, allocations: 3.938 kB / 452.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.2911, allocations: 95.88 kB / 452.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2912, allocations: 0 / 452.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.2912, allocations: 8 kB / 452.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2912, allocations: 0 / 452.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.2912, allocations: 4 kB / 452.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.2925, allocations: 0.6489 MB / 453 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.2926, allocations: 95.52 kB / 453.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.2927, allocations: 8 kB / 453.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.2931, allocations: 31.97 kB / 453.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.2931, allocations: 27.94 kB / 453.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2932, allocations: 12 kB / 453.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003872/0.2936, allocations: 327.1 kB / 453.5 MB, free: 452 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2936, allocations: 0 / 453.5 MB, free: 452 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.294, allocations: 139.8 kB / 453.7 MB, free: 312 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.001622/0.2956, allocations: 1.205 MB / 454.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.2968, allocations: 0.6217 MB / 455.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2968, allocations: 0 / 455.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.2972, allocations: 163.8 kB / 455.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.2979, allocations: 150 kB / 455.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/0.3047, allocations: 4.521 MB / 460.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.3052, allocations: 0.8275 MB / 461.2 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002941/0.3055, allocations: 64.36 kB / 461.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.3057, allocations: 175.4 kB / 461.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3057, allocations: 0 / 461.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05117/0.3569, allocations: 13.95 MB / 475.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.1, allocations: 0 / 475.3 MB, free: 10.71 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.425651818048209] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.207641978748143 13.2323179 12.956903091 Calling exit ...