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.001358/0.001358, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001489/0.001489, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.444/1.444, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001964/0.001964, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1071, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004859/0.1119, allocations: 3.527 MB / 430.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1136, allocations: 0.9775 MB / 431.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.1137, allocations: 7.938 kB / 431.5 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.114, allocations: 115 kB / 431.6 MB, free: 140 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2089/0.3229, allocations: 183.8 kB / 431.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.3234, allocations: 125.3 kB / 431.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008468/0.3243, allocations: 0.6304 MB / 432.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.3245, allocations: 135.6 kB / 432.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.3248, allocations: 247.6 kB / 432.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3251, allocations: 277.4 kB / 433.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.543e-05/0.3252, allocations: 54.34 kB / 433.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.3252, allocations: 55.09 kB / 433.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.3253, allocations: 119.5 kB / 433.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.3255, allocations: 296 kB / 433.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.3261, allocations: 0.639 MB / 434.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3261, allocations: 0.5625 kB / 434.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3261, allocations: 1.094 kB / 434.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3261, allocations: 0.7812 kB / 434.4 MB, free: 7.449 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001192/0.3273, allocations: 0.8621 MB / 435.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3273, allocations: 10.12 kB / 435.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.3274, allocations: 80.33 kB / 435.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.3275, allocations: 62.02 kB / 435.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.3281, allocations: 403.1 kB / 435.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.575e-05/0.3282, allocations: 57.44 kB / 435.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.3283, allocations: 37.47 kB / 435.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.3289, allocations: 471.8 kB / 436.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.329, allocations: 0 / 436.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.329, allocations: 18.66 kB / 436.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.329, allocations: 7.688 kB / 436.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.3296, allocations: 283.8 kB / 436.6 MB, free: 6.32 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.002054/0.3316, allocations: 1.309 MB / 437.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.3327, allocations: 424.3 kB / 438.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.333, allocations: 129.4 kB / 438.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.333, allocations: 8.047 kB / 438.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.333, allocations: 39.17 kB / 438.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.333, allocations: 0 / 438.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001148/0.3342, allocations: 0.6047 MB / 439.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.3343, allocations: 449.4 kB / 439.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.3348, allocations: 449 kB / 440 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.3348, allocations: 41.72 kB / 440 MB, free: 4.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.335, allocations: 235.6 kB / 440.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.335, allocations: 119.7 kB / 440.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3352, allocations: 73.27 kB / 440.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.3352, allocations: 354.4 kB / 440.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.3355, allocations: 105 kB / 440.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.3358, allocations: 254.8 kB / 441.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.3362, allocations: 280.2 kB / 441.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3362, allocations: 0.6562 kB / 441.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006916/0.3369, allocations: 418.2 kB / 441.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.337, allocations: 31.48 kB / 441.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.337, allocations: 1.484 kB / 441.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.3371, allocations: 58.92 kB / 441.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.3375, allocations: 68.25 kB / 442 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.3393, allocations: 2.964 MB / 445 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.3397, allocations: 43.97 kB / 445 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.3397, allocations: 13.66 kB / 445 MB, free: 48 kB / 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 (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.0002553/0.34, allocations: 165.5 kB / 445.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.3401, allocations: 54.58 kB / 445.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.3402, allocations: 58.64 kB / 445.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3402, allocations: 10.12 kB / 445.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3403, allocations: 0.5 kB / 445.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008108/0.3411, allocations: 0.6456 MB / 445.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.3425, allocations: 0.9046 MB / 446.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3425, allocations: 0.6094 kB / 446.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.3429, allocations: 75.19 kB / 446.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3429, allocations: 5.219 kB / 446.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3429, allocations: 7.625 kB / 446.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3429, allocations: 1.031 kB / 446.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3429, allocations: 1.781 kB / 446.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.3438, allocations: 0.5146 MB / 447.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.344, allocations: 165.8 kB / 447.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.3441, allocations: 12.41 kB / 447.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.3444, allocations: 19.09 kB / 447.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.3444, allocations: 19.94 kB / 447.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3445, allocations: 6.266 kB / 447.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003972/0.3449, allocations: 322.9 kB / 448 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3449, allocations: 0 / 448 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.3453, allocations: 132.5 kB / 448.1 MB, free: 14.02 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.001231/0.3466, allocations: 1.079 MB / 449.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3476, allocations: 0.5506 MB / 449.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3476, allocations: 0.9062 kB / 449.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.3478, allocations: 121.4 kB / 449.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.3485, allocations: 133 kB / 450 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.3545, allocations: 4.248 MB / 454.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.355, allocations: 0.8206 MB / 455.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.3553, allocations: 60.75 kB / 455.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.3555, allocations: 169.6 kB / 455.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3555, allocations: 0 / 455.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04743/0.4029, allocations: 12.84 MB / 468.1 MB, free: 4.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.76, allocations: 17 kB / 468.1 MB, free: 4.727 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 15.222993626724929] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 12.858544184826314 12.872958135 12.543826965 Calling exit ...