Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001309/0.001309, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001392/0.001392, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.421/1.421, allocations: 230.4 MB / 254.7 MB, free: 15.23 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.SimpleCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001896/0.001896, allocations: 68.06 kB / 373.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09867, allocations: 53.31 MB / 426.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004948/0.1036, allocations: 3.52 MB / 430.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1054, allocations: 0.9813 MB / 431.4 MB, free: 392 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.1056, allocations: 11.94 kB / 431.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.1059, allocations: 107 kB / 431.5 MB, free: 272 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.1063, allocations: 190.4 kB / 431.7 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.1066, allocations: 123.8 kB / 431.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000778/0.1074, allocations: 0.6341 MB / 432.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1077, allocations: 138.8 kB / 432.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.108, allocations: 243.1 kB / 432.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.1083, allocations: 274.8 kB / 433.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.219e-05/0.1084, allocations: 52 kB / 433.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.601e-05/0.1085, allocations: 56 kB / 433.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1086, allocations: 119.5 kB / 433.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.1089, allocations: 290.7 kB / 433.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007605/0.1097, allocations: 0.6497 MB / 434.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1097, allocations: 0 / 434.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1097, allocations: 0 / 434.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1097, allocations: 0 / 434.2 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001627/0.1113, allocations: 0.8581 MB / 435.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1114, allocations: 11.97 kB / 435.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.1115, allocations: 79.67 kB / 435.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1116, allocations: 60.61 kB / 435.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.1123, allocations: 403.3 kB / 435.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.1124, allocations: 63.25 kB / 435.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.1125, allocations: 32.38 kB / 435.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.1132, allocations: 474 kB / 436.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1132, allocations: 0 / 436.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.1133, allocations: 16 kB / 436.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1133, allocations: 8 kB / 436.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005787/0.1139, allocations: 287.8 kB / 436.5 MB, free: 11.08 MB / 366.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.002421/0.1163, allocations: 1.304 MB / 437.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.1175, allocations: 422.3 kB / 438.2 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.1177, allocations: 120.8 kB / 438.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.1178, allocations: 11.98 kB / 438.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.1178, allocations: 34.56 kB / 438.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.1178, allocations: 4 kB / 438.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001208/0.119, allocations: 0.6103 MB / 439 MB, free: 8.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002728/0.1193, allocations: 445 kB / 439.4 MB, free: 7.859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.1199, allocations: 453.9 kB / 439.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.1199, allocations: 33.7 kB / 439.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.1201, allocations: 232.7 kB / 440.1 MB, free: 7.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.1202, allocations: 126.9 kB / 440.2 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.1204, allocations: 70.03 kB / 440.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1206, allocations: 358.8 kB / 440.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.1208, allocations: 108.6 kB / 440.8 MB, free: 6.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.1212, allocations: 252.1 kB / 441 MB, free: 6.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.1217, allocations: 281.2 kB / 441.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1217, allocations: 0 / 441.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007982/0.1225, allocations: 420.6 kB / 441.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.1226, allocations: 33.7 kB / 441.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1226, allocations: 0 / 441.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.1228, allocations: 57.62 kB / 441.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.1231, allocations: 67.91 kB / 441.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.126, allocations: 2.961 MB / 444.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.1264, allocations: 47.77 kB / 444.9 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.1264, allocations: 8 kB / 444.9 MB, free: 1.992 MB / 366.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 (36): * Single equations (assignments): 33 * 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.0002296/0.1267, allocations: 173.8 kB / 445 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1268, allocations: 51.67 kB / 445.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.1269, allocations: 56.95 kB / 445.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1269, allocations: 7.938 kB / 445.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.1269, allocations: 0 / 445.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007308/0.1276, allocations: 0.6453 MB / 445.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1936/0.3212, allocations: 0.9108 MB / 446.7 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3212, allocations: 0 / 446.7 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.3216, allocations: 65.8 kB / 446.8 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3216, allocations: 3.094 kB / 446.8 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.3216, allocations: 6.859 kB / 446.8 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3216, allocations: 1.031 kB / 446.8 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3216, allocations: 0 / 446.8 MB, free: 24.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.3225, allocations: 0.5203 MB / 447.3 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.3226, allocations: 162.5 kB / 447.5 MB, free: 24.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.3227, allocations: 10.22 kB / 447.5 MB, free: 24.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.323, allocations: 15.91 kB / 447.5 MB, free: 24.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.3231, allocations: 22.08 kB / 447.5 MB, free: 24.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.3231, allocations: 10.03 kB / 447.5 MB, free: 24.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003333/0.3234, allocations: 320.8 kB / 447.8 MB, free: 24.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3234, allocations: 1.062 kB / 447.8 MB, free: 24.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.3239, allocations: 139.3 kB / 448 MB, free: 24.16 MB / 366.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 (32): * Single equations (assignments): 32 * 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.0008605/0.3247, allocations: 1.078 MB / 449.1 MB, free: 23.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007843/0.3255, allocations: 0.5439 MB / 449.6 MB, free: 23.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3255, allocations: 2.938 kB / 449.6 MB, free: 23.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.3257, allocations: 121.5 kB / 449.7 MB, free: 23.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/0.3264, allocations: 137.5 kB / 449.9 MB, free: 23.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.3313, allocations: 4.252 MB / 454.1 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3316, allocations: 0.8206 MB / 454.9 MB, free: 20.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000267/0.3318, allocations: 61.81 kB / 455 MB, free: 20.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.332, allocations: 159.2 kB / 455.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.332, allocations: 0 / 455.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.3752, allocations: 12.83 MB / 468 MB, free: 17.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.64, allocations: 22.45 kB / 468 MB, free: 17.31 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.942938295193017] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 12.737971564289182 12.757772128000001 12.644409047 Calling exit ...