Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001069/0.001069, allocations: 80.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.001385/0.001385, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8626/0.8626, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6229/0.6229, allocations: 116 MB / 375.2 MB, free: 4.203 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Processes_Tests_CentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.CentrifugalPump,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_CentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5533 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.725e-05, allocations: 5.516 kB / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.CentrifugalPump): time 0.4115/0.4115, allocations: 183.5 MB / 0.7325 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.4293, allocations: 19.14 MB / 0.7512 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.4315, allocations: 101.4 kB / 0.7513 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.4346, allocations: 1.038 MB / 0.7523 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006346/0.441, allocations: 2.512 MB / 0.7547 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.4447, allocations: 1.636 MB / 0.7563 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004123/0.4488, allocations: 3.214 MB / 0.7595 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006888/0.4495, allocations: 286.5 kB / 0.7598 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.4523, allocations: 1.782 MB / 0.7615 GB, free: 7.184 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.4538, allocations: 0.8895 MB / 0.7624 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003244/0.4542, allocations: 151.4 kB / 0.7625 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.4574, allocations: 1.482 MB / 0.764 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004684/0.4578, allocations: 485.9 kB / 0.7644 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000965/0.4588, allocations: 0.7128 MB / 0.7651 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00571/0.4645, allocations: 3.322 MB / 0.7684 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.4645, allocations: 0 / 0.7684 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4645, allocations: 7.922 kB / 0.7684 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.418e-05/0.4646, allocations: 0 / 0.7684 GB, free: 1.395 MB / 0.6042 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.004503/0.4691, allocations: 2.771 MB / 0.7711 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4692, allocations: 8.031 kB / 0.7711 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/0.4694, allocations: 211 kB / 0.7713 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.4706, allocations: 454 kB / 0.7717 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.4726, allocations: 1.325 MB / 0.773 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.4728, allocations: 340.3 kB / 0.7733 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.473, allocations: 147.9 kB / 0.7735 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.4752, allocations: 1.801 MB / 0.7752 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.4752, allocations: 11.92 kB / 0.7752 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.4753, allocations: 58.25 kB / 0.7753 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.4753, allocations: 36 kB / 0.7753 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.4775, allocations: 1.533 MB / 0.7768 GB, free: 8.465 MB / 0.6198 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.006826/0.4843, allocations: 5.17 MB / 0.7819 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.4861, allocations: 1.45 MB / 0.7833 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008368/0.4869, allocations: 0.6425 MB / 0.7839 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004198/0.4911, allocations: 2.628 MB / 0.7865 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.4922, allocations: 0.9363 MB / 0.7874 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=137): time 3.928e-06/0.4922, allocations: 0 / 0.7874 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=137): time 0.005121/0.4974, allocations: 2.706 MB / 0.79 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.4975, allocations: 252.6 kB / 0.7903 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.4993, allocations: 1.558 MB / 0.7918 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.4995, allocations: 53.7 kB / 0.7919 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005607/0.5, allocations: 0.9312 MB / 0.7928 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.5004, allocations: 499.7 kB / 0.7932 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.5007, allocations: 263.5 kB / 0.7935 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.5007, allocations: 301.1 kB / 0.7938 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.5015, allocations: 0.4919 MB / 0.7943 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009018/0.5024, allocations: 0.7811 MB / 0.795 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.5041, allocations: 1.327 MB / 0.7963 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.5041, allocations: 4 kB / 0.7963 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003308/0.5074, allocations: 1.932 MB / 0.7982 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.5075, allocations: 8 kB / 0.7982 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.5075, allocations: 11.94 kB / 0.7982 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.5085, allocations: 375.3 kB / 0.7986 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/0.5094, allocations: 335.5 kB / 0.7989 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004246/0.5137, allocations: 5.475 MB / 0.8043 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.5148, allocations: 175 kB / 0.8044 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5149, allocations: 83.97 kB / 0.8045 GB, free: 11.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (163): * Single equations (assignments): 159 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0009542/0.5159, allocations: 369.3 kB / 0.8049 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.5163, allocations: 214.6 kB / 0.8051 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.5195, allocations: 2.062 MB / 0.8071 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.5195, allocations: 16 kB / 0.8071 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5195, allocations: 4 kB / 0.8071 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.5195, allocations: 11.97 kB / 0.8071 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004981/0.5245, allocations: 3.083 MB / 0.8101 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5245, allocations: 3.312 kB / 0.8101 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.5252, allocations: 287.5 kB / 0.8104 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009311/0.5262, allocations: 363.1 kB / 0.8107 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.5263, allocations: 47.97 kB / 0.8108 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004363/0.5307, allocations: 5.483 MB / 0.8161 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5307, allocations: 0 / 0.8161 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/0.5346, allocations: 2.588 MB / 0.8187 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009867/0.5356, allocations: 322.1 kB / 0.819 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.5358, allocations: 39.98 kB / 0.819 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.5363, allocations: 71.94 kB / 0.8191 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.5365, allocations: 125 kB / 0.8192 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.624e-05/0.5366, allocations: 67.95 kB / 0.8193 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001088/0.5377, allocations: 1.045 MB / 0.8203 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5377, allocations: 0 / 0.8203 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001754/0.5395, allocations: 0.6939 MB / 0.821 GB, free: 9.625 MB / 0.6667 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 (130): * Single equations (assignments): 124 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005601/0.5451, allocations: 4.074 MB / 0.8249 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002967/0.548, allocations: 1.71 MB / 0.8266 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.548, allocations: 1.5 kB / 0.8266 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.5494, allocations: 1.097 MB / 0.8277 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.5512, allocations: 0.5951 MB / 0.8283 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/0.5716, allocations: 14.13 MB / 0.8421 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.5726, allocations: 0.853 MB / 0.8429 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002064/0.5747, allocations: 0.594 MB / 0.8435 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/0.5762, allocations: 0.8673 MB / 0.8443 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/0.5762, allocations: 0 / 0.8443 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08035/0.6566, allocations: 55.74 MB / 0.8988 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.99/10.65, allocations: 0 / 0.8988 GB, free: 10.07 MB / 0.7448 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.CentrifugalPump.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.CentrifugalPump.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.CentrifugalPump.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.CentrifugalPump.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_CentrifugalPump.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.CentrifugalPump.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 13.34085359890014] Failed to read output from testmodel.py, exit status != 0: 10.789201688021421 10.797922109 10.331397175 Calling exit ...