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.001617/0.001617, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.001927/0.001927, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.452/1.452, allocations: 230.5 MB / 254.7 MB, free: 14.87 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.001934/0.001934, allocations: 72.11 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1017, allocations: 53.32 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.191/0.2926, allocations: 5.059 MB / 431.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.2948, allocations: 1.331 MB / 433.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.2951, allocations: 10.47 kB / 433.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.2955, allocations: 166.7 kB / 433.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.296, allocations: 332 kB / 433.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.2964, allocations: 231.9 kB / 434 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009909/0.2974, allocations: 1.172 MB / 435.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.2977, allocations: 222.2 kB / 435.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.2981, allocations: 456 kB / 435.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.2986, allocations: 0.507 MB / 436.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.2988, allocations: 103.2 kB / 436.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.299, allocations: 106 kB / 436.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.2991, allocations: 223.1 kB / 436.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004472/0.2996, allocations: 0.5302 MB / 437.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.3009, allocations: 1.201 MB / 438.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3009, allocations: 1.375 kB / 438.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3009, allocations: 0 / 438.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.3009, allocations: 0 / 438.5 MB, free: 5.988 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.002382/0.3033, allocations: 1.365 MB / 439.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3034, allocations: 11.77 kB / 439.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.3035, allocations: 122.9 kB / 440 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.3037, allocations: 116.4 kB / 440.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.3046, allocations: 0.5909 MB / 440.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.3048, allocations: 148.4 kB / 440.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.3049, allocations: 64.97 kB / 440.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.3062, allocations: 0.8621 MB / 441.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3062, allocations: 4 kB / 441.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.3062, allocations: 29.41 kB / 441.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.3063, allocations: 13 kB / 441.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3076, allocations: 0.6109 MB / 442.4 MB, free: 3.594 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.003264/0.3108, allocations: 2.085 MB / 444.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.312, allocations: 0.8052 MB / 445.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.3127, allocations: 355.9 kB / 445.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.3128, allocations: 19.53 kB / 445.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3128, allocations: 45.94 kB / 445.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.983e-06/0.3128, allocations: 0 / 445.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00465/0.3174, allocations: 1.801 MB / 447.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/0.3176, allocations: 0.823 MB / 448.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000839/0.3185, allocations: 0.6302 MB / 449 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/0.3186, allocations: 44.73 kB / 449 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.3188, allocations: 348.5 kB / 449.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.3191, allocations: 270.3 kB / 449.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.3193, allocations: 140.1 kB / 449.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3195, allocations: 389.1 kB / 450.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/0.3202, allocations: 270.8 kB / 450.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.3211, allocations: 0.5502 MB / 451 MB, free: 14.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.3225, allocations: 0.6866 MB / 451.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3225, allocations: 0 / 451.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002683/0.3252, allocations: 1.092 MB / 452.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/0.3252, allocations: 85.69 kB / 452.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3252, allocations: 1.938 kB / 452.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006802/0.3259, allocations: 233 kB / 453 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.3265, allocations: 145.1 kB / 453.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008279/0.3348, allocations: 6.941 MB / 460.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.3358, allocations: 100.2 kB / 460.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.3359, allocations: 20.66 kB / 460.3 MB, free: 6.77 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.0004145/0.3363, allocations: 224.1 kB / 460.5 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.3365, allocations: 99.59 kB / 460.6 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.3367, allocations: 92.2 kB / 460.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3367, allocations: 7.312 kB / 460.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.3367, allocations: 0 / 460.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002458/0.3391, allocations: 1.232 MB / 461.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004032/0.3432, allocations: 1.926 MB / 463.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3432, allocations: 0 / 463.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/0.3439, allocations: 144.6 kB / 464 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/0.3444, allocations: 193 kB / 464.2 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.3444, allocations: 24.02 kB / 464.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006941/0.3514, allocations: 5.351 MB / 469.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3514, allocations: 0 / 469.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/0.3548, allocations: 1.386 MB / 470.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.3554, allocations: 242.3 kB / 471.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.3555, allocations: 22.5 kB / 471.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/0.3562, allocations: 48.3 kB / 471.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.3564, allocations: 66.16 kB / 471.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.3564, allocations: 21.84 kB / 471.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006675/0.3571, allocations: 464.2 kB / 471.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3571, allocations: 0 / 471.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001011/0.3581, allocations: 283.9 kB / 472 MB, free: 13.86 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.003551/0.3617, allocations: 1.957 MB / 474 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002383/0.364, allocations: 1.321 MB / 475.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.364, allocations: 2.312 kB / 475.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.3654, allocations: 0.7454 MB / 476.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.3664, allocations: 240.6 kB / 476.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.3793, allocations: 7.539 MB / 483.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.3799, allocations: 0.9518 MB / 484.8 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005117/0.3804, allocations: 98.42 kB / 484.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.3809, allocations: 299.3 kB / 485.2 MB, free: 3.559 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3809, allocations: 0 / 485.2 MB, free: 3.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07381/0.4547, allocations: 26.1 MB / 0.4993 GB, free: 9.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.5, allocations: 11.19 kB / 0.4993 GB, free: 9.859 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: 15.884223281871527] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 13.609195039141923 13.632919962 13.328244885 Calling exit ...