Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.CentrifugalPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008625/0.0008625, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008811/0.0008811, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8647/0.8647, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.482/0.482, allocations: 80.18 MB / 339.4 MB, free: 7.523 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.CentrifugalPump,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_CentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.CentrifugalPump,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_CentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.4924 GB, free: 6.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.831e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.621 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.CentrifugalPump): time 0.3892/0.3892, allocations: 183.5 MB / 0.6716 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.4054, allocations: 19.13 MB / 0.6903 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.4075, allocations: 95.41 kB / 0.6903 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.4101, allocations: 1.042 MB / 0.6914 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006367/0.4165, allocations: 2.509 MB / 0.6938 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.4204, allocations: 1.619 MB / 0.6954 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004484/0.4249, allocations: 3.194 MB / 0.6985 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/0.4256, allocations: 293 kB / 0.6988 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.4284, allocations: 1.765 MB / 0.7005 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.4295, allocations: 0.8845 MB / 0.7014 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.4298, allocations: 155.5 kB / 0.7015 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.4327, allocations: 1.488 MB / 0.703 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.433, allocations: 481.3 kB / 0.7034 GB, free: 1.27 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0009497/0.434, allocations: 0.7085 MB / 0.7041 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005313/0.4393, allocations: 3.301 MB / 0.7074 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4393, allocations: 0.9375 kB / 0.7074 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4393, allocations: 0 / 0.7074 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.783e-05/0.4394, allocations: 0 / 0.7074 GB, free: 0.7773 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.004222/0.4436, allocations: 2.751 MB / 0.71 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4437, allocations: 15.86 kB / 0.7101 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.4439, allocations: 203.2 kB / 0.7103 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.4451, allocations: 442.8 kB / 0.7107 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.4471, allocations: 1.322 MB / 0.712 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.4473, allocations: 337 kB / 0.7123 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.4475, allocations: 146.8 kB / 0.7124 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.4494, allocations: 1.805 MB / 0.7142 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.4495, allocations: 6.281 kB / 0.7142 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-05/0.4496, allocations: 56.06 kB / 0.7143 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.4496, allocations: 36.72 kB / 0.7143 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.4515, allocations: 1.529 MB / 0.7158 GB, free: 13.96 MB / 0.5573 GB 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.006692/0.4582, allocations: 5.2 MB / 0.7209 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.4601, allocations: 1.466 MB / 0.7223 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008673/0.4609, allocations: 0.6609 MB / 0.7229 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004335/0.4653, allocations: 2.665 MB / 0.7255 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.4665, allocations: 0.9631 MB / 0.7265 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=141): time 4.068e-06/0.4665, allocations: 2.281 kB / 0.7265 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141): time 0.006577/0.4731, allocations: 3.311 MB / 0.7297 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.4732, allocations: 253.5 kB / 0.73 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.4749, allocations: 1.536 MB / 0.7315 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.4751, allocations: 51.23 kB / 0.7315 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005946/0.4757, allocations: 0.9113 MB / 0.7324 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.4761, allocations: 0.5013 MB / 0.7329 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.4763, allocations: 257.5 kB / 0.7331 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.4764, allocations: 309 kB / 0.7334 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007761/0.4772, allocations: 0.5131 MB / 0.7339 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009103/0.4781, allocations: 0.7874 MB / 0.7347 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.48, allocations: 1.352 MB / 0.736 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.48, allocations: 2.75 kB / 0.736 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003748/0.4838, allocations: 2.27 MB / 0.7382 GB, free: 15.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4838, allocations: 8 kB / 0.7382 GB, free: 15.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.4838, allocations: 8 kB / 0.7382 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.4855, allocations: 0.6895 MB / 0.7389 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.4863, allocations: 327.2 kB / 0.7392 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.4907, allocations: 5.596 MB / 0.7447 GB, free: 8.332 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.4919, allocations: 170.9 kB / 0.7449 GB, free: 8.164 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.4921, allocations: 83.95 kB / 0.7449 GB, free: 8.082 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,thermalConvectionPipe.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * 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): 3 systems {(2,2,100.0%), (1,5,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007242/0.4928, allocations: 362.8 kB / 0.7453 GB, free: 7.738 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.4931, allocations: 218.6 kB / 0.7455 GB, free: 7.523 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.4971, allocations: 2.429 MB / 0.7479 GB, free: 5.105 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.4971, allocations: 16 kB / 0.7479 GB, free: 5.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4971, allocations: 8 kB / 0.7479 GB, free: 5.082 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.4971, allocations: 15.91 kB / 0.7479 GB, free: 5.066 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006046/0.5032, allocations: 3.476 MB / 0.7513 GB, free: 1.559 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.5032, allocations: 3.938 kB / 0.7513 GB, free: 1.555 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.5039, allocations: 276.3 kB / 0.7516 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/0.5055, allocations: 0.6785 MB / 0.7522 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.5056, allocations: 51.97 kB / 0.7523 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004325/0.51, allocations: 5.541 MB / 0.7577 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.51, allocations: 8.062 kB / 0.7577 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004812/0.5148, allocations: 2.985 MB / 0.7606 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006804/0.5155, allocations: 330.1 kB / 0.7609 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.5156, allocations: 32 kB / 0.761 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.5162, allocations: 79.92 kB / 0.761 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.5164, allocations: 117.1 kB / 0.7611 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.912e-05/0.5165, allocations: 75.89 kB / 0.7612 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001062/0.5175, allocations: 1.023 MB / 0.7622 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5175, allocations: 0 / 0.7622 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001521/0.5191, allocations: 0.6978 MB / 0.7629 GB, free: 5.266 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 11 (heatExchanger.h_out_A,heatExchanger.h_out_B,flexVolume.M,flexVolume.U_med,heatCapacitor.T,centrifugalPump1.inlet.m_flow,flowResistance1.inlet.m_flow,inertia.phi,inertia.w,speed.phi,speed.w) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 3 systems {(2,2,100.0%), (1,5,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006722/0.5258, allocations: 4.476 MB / 0.7673 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00271/0.5285, allocations: 1.778 MB / 0.769 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5285, allocations: 6.469 kB / 0.769 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.5298, allocations: 1.119 MB / 0.7701 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.5317, allocations: 0.6155 MB / 0.7707 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/0.5515, allocations: 14.79 MB / 0.7851 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/0.5523, allocations: 0.8442 MB / 0.786 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001205/0.5536, allocations: 0.5872 MB / 0.7865 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008227/0.5544, allocations: 0.8712 MB / 0.7874 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.5544, allocations: 0 / 0.7874 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07741/0.6318, allocations: 56.24 MB / 0.8423 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.77, allocations: 8 kB / 0.8423 GB, free: 4.336 MB / 0.6667 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.CentrifugalPump.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.CentrifugalPump.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.CentrifugalPump.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.CentrifugalPump.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.CentrifugalPump_res.csv --start-time 0 --stop-time 10000 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 10 ThermofluidStream_ThermofluidStream_Processes_Tests_CentrifugalPump.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.CentrifugalPump.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 13.217361133545637] Failed to read output from testmodel.py, exit status != 0: 10.908001051284373 10.916747397 10.475525082 Calling exit ...