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.001158/0.001158, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001236/0.001236, allocations: 221 kB / 22.92 MB, free: 5.531 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.275/1.275, allocations: 230.5 MB / 256.4 MB, free: 8.426 MB / 206.1 MB " [Timeout remaining time 179] 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.001751/0.001751, allocations: 67.88 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1993, allocations: 53.31 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005679/0.2049, allocations: 5.089 MB / 434.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.2073, allocations: 1.34 MB / 435.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.2076, allocations: 8 kB / 435.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.208, allocations: 166.5 kB / 436 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.2085, allocations: 333.2 kB / 436.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.2089, allocations: 239.5 kB / 436.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.2101, allocations: 1.168 MB / 437.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.2104, allocations: 215.1 kB / 437.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.2109, allocations: 462.4 kB / 438.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005644/0.2114, allocations: 0.5018 MB / 438.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.2116, allocations: 104 kB / 439 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.2117, allocations: 108 kB / 439.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.2119, allocations: 227.2 kB / 439.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.2124, allocations: 0.5172 MB / 439.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2135, allocations: 1.21 MB / 441 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2135, allocations: 0 / 441 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2135, allocations: 4 kB / 441 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2135, allocations: 0 / 441 MB, free: 11.73 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.002234/0.2157, allocations: 1.367 MB / 442.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2158, allocations: 12.03 kB / 442.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.2159, allocations: 119.9 kB / 442.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.2161, allocations: 120.3 kB / 442.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009119/0.217, allocations: 0.5916 MB / 443.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.2172, allocations: 143 kB / 443.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.2173, allocations: 67.94 kB / 443.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.2186, allocations: 0.8587 MB / 444.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.2187, allocations: 4 kB / 444.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.2187, allocations: 28 kB / 444.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.2187, allocations: 12 kB / 444.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.2201, allocations: 0.614 MB / 445 MB, free: 7.559 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.003049/0.2231, allocations: 2.089 MB / 447.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.2244, allocations: 0.8077 MB / 447.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007373/0.2251, allocations: 360.1 kB / 448.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.2252, allocations: 12.59 kB / 448.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2252, allocations: 47.22 kB / 448.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.793e-06/0.2252, allocations: 0 / 448.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004739/0.2299, allocations: 1.801 MB / 450.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003746/0.2303, allocations: 0.8234 MB / 450.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.231, allocations: 0.6371 MB / 451.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.2311, allocations: 45.7 kB / 451.6 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.2314, allocations: 341.4 kB / 451.9 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.2316, allocations: 261.8 kB / 452.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.2318, allocations: 150.6 kB / 452.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.232, allocations: 382.8 kB / 452.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.2326, allocations: 273.8 kB / 453 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.2335, allocations: 0.5546 MB / 453.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.2348, allocations: 0.6817 MB / 454.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2348, allocations: 0 / 454.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002448/0.2372, allocations: 1.091 MB / 455.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.2373, allocations: 89.11 kB / 455.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2373, allocations: 3.984 kB / 455.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/0.2379, allocations: 235.2 kB / 455.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.2385, allocations: 139.8 kB / 455.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007647/0.2462, allocations: 6.94 MB / 462.7 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.2469, allocations: 99.61 kB / 462.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.247, allocations: 23.98 kB / 462.8 MB, free: 4.469 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.000313/0.2473, allocations: 217.7 kB / 463 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.2474, allocations: 103.4 kB / 463.1 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.2476, allocations: 83.34 kB / 463.2 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2476, allocations: 8 kB / 463.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2476, allocations: 0 / 463.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002354/0.25, allocations: 1.233 MB / 464.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.2535, allocations: 1.932 MB / 466.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2535, allocations: 3.938 kB / 466.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.2542, allocations: 139.8 kB / 466.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/0.2547, allocations: 198.5 kB / 466.7 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.2547, allocations: 16 kB / 466.7 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006289/0.261, allocations: 5.346 MB / 472.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.261, allocations: 3.938 kB / 472.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.2642, allocations: 1.396 MB / 473.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.2645, allocations: 236.4 kB / 473.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.2646, allocations: 23.98 kB / 473.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.2652, allocations: 51.95 kB / 473.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.2654, allocations: 56.58 kB / 473.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.2654, allocations: 27.92 kB / 473.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000544/0.266, allocations: 451.1 kB / 474.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.266, allocations: 0 / 474.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008219/0.2668, allocations: 287.7 kB / 474.6 MB, free: 8.027 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.003354/0.2702, allocations: 1.959 MB / 476.5 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.2723, allocations: 1.324 MB / 477.9 MB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2723, allocations: 0 / 477.9 MB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.2736, allocations: 0.7418 MB / 478.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/0.2745, allocations: 246.2 kB / 478.8 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.2863, allocations: 7.529 MB / 486.4 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.2868, allocations: 0.9517 MB / 487.3 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003572/0.2872, allocations: 98.44 kB / 487.4 MB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.2875, allocations: 303.3 kB / 487.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2875, allocations: 0 / 487.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06422/0.3518, allocations: 26.2 MB / 0.5019 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.11, allocations: 2.406 kB / 0.5019 GB, free: 0.7148 MB / 414.1 MB " [Timeout remaining time 648] (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 --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: 14.20994980999967]