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.001746/0.001746, 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.002184/0.002184, allocations: 211.9 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.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.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.001984/0.001984, allocations: 68.75 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2758, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.008648/0.2845, allocations: 5.084 MB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.2885, allocations: 1.337 MB / 438.3 MB, free: 464 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005718/0.289, allocations: 15.88 kB / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.2896, allocations: 166.5 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.2907, allocations: 337.3 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.2914, allocations: 231.6 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.2933, allocations: 1.178 MB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.2938, allocations: 214.6 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.2946, allocations: 466.3 kB / 440.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008952/0.2955, allocations: 0.5058 MB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.2957, allocations: 104 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.296, allocations: 104 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.2963, allocations: 227.2 kB / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007182/0.297, allocations: 0.5211 MB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.2988, allocations: 1.206 MB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.2988, allocations: 8 kB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2988, allocations: 0 / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.2988, allocations: 3.938 kB / 443.6 MB, free: 11.18 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.003636/0.3025, allocations: 1.288 MB / 444.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.3025, allocations: 12.03 kB / 444.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002417/0.3028, allocations: 119.9 kB / 445 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.303, allocations: 116.2 kB / 445.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.3044, allocations: 0.5273 MB / 445.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.3048, allocations: 305.2 kB / 445.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.305, allocations: 63.94 kB / 446 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.3071, allocations: 0.8672 MB / 446.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.3072, allocations: 3.953 kB / 446.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3073, allocations: 28 kB / 446.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.3073, allocations: 16 kB / 446.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.3093, allocations: 0.6063 MB / 447.5 MB, free: 6.992 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.005094/0.3144, allocations: 2.05 MB / 449.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.3164, allocations: 0.5858 MB / 450.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.3176, allocations: 359.5 kB / 450.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.65e-05/0.3177, allocations: 12.64 kB / 450.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.3178, allocations: 51.16 kB / 450.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.098e-06/0.3178, allocations: 0 / 450.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.007622/0.3254, allocations: 1.48 MB / 452.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005798/0.326, allocations: 0.8273 MB / 452.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.3273, allocations: 0.6371 MB / 453.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.3274, allocations: 45.7 kB / 453.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.3279, allocations: 353.3 kB / 453.9 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.3282, allocations: 265.7 kB / 454.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.3286, allocations: 146.6 kB / 454.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.3288, allocations: 382.8 kB / 454.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.3299, allocations: 273.8 kB / 455 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.3314, allocations: 0.5546 MB / 455.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.3335, allocations: 0.6817 MB / 456.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3335, allocations: 0 / 456.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004074/0.3376, allocations: 1.091 MB / 457.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/0.3377, allocations: 85.11 kB / 457.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3377, allocations: 0 / 457.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009613/0.3386, allocations: 235.2 kB / 457.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/0.3396, allocations: 139.8 kB / 457.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.351, allocations: 6.534 MB / 464.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.352, allocations: 95.61 kB / 464.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.3521, allocations: 24 kB / 464.4 MB, free: 5.113 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.0004008/0.3525, allocations: 229.6 kB / 464.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.3527, allocations: 91.66 kB / 464.7 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.3528, allocations: 95.33 kB / 464.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3528, allocations: 4 kB / 464.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3528, allocations: 0 / 464.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002539/0.3554, allocations: 1.237 MB / 466 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/0.3593, allocations: 1.888 MB / 467.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3593, allocations: 0 / 467.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/0.36, allocations: 143.8 kB / 468.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005488/0.3606, allocations: 198.4 kB / 468.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.3606, allocations: 16.12 kB / 468.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006865/0.3675, allocations: 5.043 MB / 473.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3675, allocations: 0 / 473.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/0.3709, allocations: 1.392 MB / 474.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.3714, allocations: 163.2 kB / 474.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3715, allocations: 24 kB / 474.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.3721, allocations: 55.94 kB / 474.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.3723, allocations: 68.47 kB / 475 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.3723, allocations: 16 kB / 475 MB, free: 9.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006181/0.3729, allocations: 459 kB / 475.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3729, allocations: 4 kB / 475.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008611/0.3738, allocations: 287.7 kB / 475.8 MB, free: 9.176 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.003655/0.3775, allocations: 1.955 MB / 477.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.3799, allocations: 1.32 MB / 479 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.3799, allocations: 8.125 kB / 479 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.3814, allocations: 0.7378 MB / 479.8 MB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.3827, allocations: 238.9 kB / 480 MB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.397, allocations: 7.546 MB / 487.6 MB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.3976, allocations: 0.944 MB / 488.5 MB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005061/0.3981, allocations: 98.44 kB / 488.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004368/0.3985, allocations: 303.3 kB / 488.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3986, allocations: 3.938 kB / 488.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.5016, allocations: 26.58 MB / 0.5034 GB, free: 1.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.31, allocations: 4 kB / 0.5034 GB, free: 1.477 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.725414525251836] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 14.426133275032043 14.443847888 14.14111347 Calling exit ...