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.0008905/0.0008905, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0009308/0.0009308, allocations: 218.3 kB / 22.26 MB, free: 3.695 MB / 13.93 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.9734/0.9734, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.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.6259/0.6259, allocations: 101.6 MB / 414.1 MB, free: 17.88 MB / 330.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 0.001056/0.001056, allocations: 91.81 kB / 0.5654 GB, free: 2.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3691, allocations: 74.82 MB / 0.6384 GB, free: 24.29 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.CentrifugalPump): time 0.5572/0.9263, allocations: 211.8 MB / 0.8452 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.9429, allocations: 21.2 MB / 0.8659 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.9441, allocations: 94.78 kB / 0.866 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.9463, allocations: 1.145 MB / 0.8672 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.9504, allocations: 2.475 MB / 0.8696 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.9535, allocations: 1.61 MB / 0.8711 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.956, allocations: 3.1 MB / 0.8742 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.9563, allocations: 304 kB / 0.8745 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.9577, allocations: 1.319 MB / 0.8757 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008989/0.9586, allocations: 1.146 MB / 0.8769 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.9588, allocations: 151.2 kB / 0.877 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.9619, allocations: 1.649 MB / 0.8786 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.9623, allocations: 476 kB / 0.8791 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.963, allocations: 1.092 MB / 0.8801 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.9663, allocations: 3.24 MB / 0.8833 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9663, allocations: 0 / 0.8833 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9663, allocations: 0 / 0.8833 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.369e-05/0.9663, allocations: 0.75 kB / 0.8833 GB, free: 15.96 MB / 0.6511 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.003352/0.9697, allocations: 2.791 MB / 0.886 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.9697, allocations: 14.66 kB / 0.886 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.9699, allocations: 208.1 kB / 0.8862 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.971, allocations: 431.9 kB / 0.8867 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.9725, allocations: 1.314 MB / 0.8879 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.9728, allocations: 337.3 kB / 0.8883 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.9729, allocations: 145.9 kB / 0.8884 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.9747, allocations: 1.661 MB / 0.89 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.9748, allocations: 6.969 kB / 0.89 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.9748, allocations: 59.31 kB / 0.8901 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.9749, allocations: 41.88 kB / 0.8901 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.9768, allocations: 1.538 MB / 0.8916 GB, free: 13.48 MB / 0.6511 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.005881/0.9826, allocations: 7.418 MB / 0.8989 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.9844, allocations: 1.497 MB / 0.9003 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007916/0.9852, allocations: 0.6613 MB / 0.901 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003172/0.9884, allocations: 2.879 MB / 0.9038 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.9895, allocations: 0.8409 MB / 0.9046 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=141): time 2.505e-06/0.9895, allocations: 1.031 kB / 0.9046 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=141): time 0.006227/0.9957, allocations: 3.312 MB / 0.9078 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.9958, allocations: 255.3 kB / 0.9081 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.9972, allocations: 1.518 MB / 0.9096 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.445e-05/0.9973, allocations: 47.14 kB / 0.9096 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005882/0.9979, allocations: 0.9075 MB / 0.9105 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.9982, allocations: 0.4998 MB / 0.911 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.9985, allocations: 266.8 kB / 0.9112 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.9986, allocations: 309 kB / 0.9115 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.9993, allocations: 0.5182 MB / 0.912 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008816/1, allocations: 0.7869 MB / 0.9128 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/1.002, allocations: 1.36 MB / 0.9141 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.002, allocations: 2.094 kB / 0.9141 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003478/1.005, allocations: 2.263 MB / 0.9164 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.005, allocations: 8 kB / 0.9164 GB, free: 0.4922 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.005, allocations: 8 kB / 0.9164 GB, free: 496 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/1.007, allocations: 0.6788 MB / 0.917 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/1.008, allocations: 329.6 kB / 0.9173 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/1.012, allocations: 5.645 MB / 0.9229 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/1.012, allocations: 171 kB / 0.923 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.013, allocations: 79.97 kB / 0.9231 GB, free: 9.262 MB / 0.6667 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,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005037/1.013, allocations: 364.5 kB / 0.9234 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/1.013, allocations: 218.6 kB / 0.9237 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/1.017, allocations: 2.43 MB / 0.926 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.017, allocations: 16 kB / 0.926 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.017, allocations: 10.56 kB / 0.9261 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/1.017, allocations: 11.97 kB / 0.9261 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/1.022, allocations: 3.669 MB / 0.9297 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.022, allocations: 0 / 0.9297 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/1.023, allocations: 280.6 kB / 0.9299 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/1.024, allocations: 0.677 MB / 0.9306 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/1.024, allocations: 59.94 kB / 0.9306 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/1.029, allocations: 5.578 MB / 0.9361 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.029, allocations: 6.438 kB / 0.9361 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/1.033, allocations: 2.992 MB / 0.939 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/1.033, allocations: 330.1 kB / 0.9393 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/1.034, allocations: 32 kB / 0.9394 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/1.034, allocations: 75.92 kB / 0.9394 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/1.034, allocations: 131.6 kB / 0.9396 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/1.034, allocations: 67.95 kB / 0.9396 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001015/1.035, allocations: 1.02 MB / 0.9406 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/1.035, allocations: 0 / 0.9406 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001539/1.037, allocations: 0.7094 MB / 0.9413 GB, free: 6.195 MB / 0.6823 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,3,100.0%), (1,5,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.005963/1.043, allocations: 4.45 MB / 0.9457 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002595/1.045, allocations: 1.783 MB / 0.9474 GB, free: 128 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.045, allocations: 0 / 0.9474 GB, free: 128 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/1.047, allocations: 1.121 MB / 0.9485 GB, free: 15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.048, allocations: 0.6178 MB / 0.9491 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.067, allocations: 15.04 MB / 0.9638 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007669/1.067, allocations: 1.415 MB / 0.9652 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00117/1.069, allocations: 0.5882 MB / 0.9657 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008337/1.069, allocations: 0.8663 MB / 0.9666 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/1.069, allocations: 0 / 0.9666 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07213/1.142, allocations: 54.9 MB / 1.02 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.19, allocations: 7.125 kB / 1.02 GB, free: 5.531 MB / 0.7605 GB " [Timeout remaining time 647] (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: 15.90296580013819] Failed to read output from testmodel.py, exit status != 0: 13.328604921000078 13.337921336 12.369758317 Calling exit ...