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.001156/0.001156, allocations: 76.44 kB / 19.16 MB, free: 0.7344 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.0009454/0.0009454, allocations: 165.9 kB / 22.45 MB, free: 2.102 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 1.122/1.122, allocations: 177.2 MB / 202.8 MB, free: 5.758 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.8973/0.8973, allocations: 80.2 MB / 339.5 MB, free: 7.559 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 0.001523/0.001523, allocations: 93.62 kB / 0.4926 GB, free: 6.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2614, allocations: 74.81 MB / 0.5656 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.CentrifugalPump): time 0.8471/1.108, allocations: 183.4 MB / 0.7447 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02693/1.135, allocations: 19.12 MB / 0.7634 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004132/1.14, allocations: 99.12 kB / 0.7635 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0039/1.143, allocations: 1.02 MB / 0.7645 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/1.154, allocations: 2.451 MB / 0.7669 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006328/1.16, allocations: 1.586 MB / 0.7684 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006415/1.166, allocations: 3.098 MB / 0.7714 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008753/1.167, allocations: 291.1 kB / 0.7717 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/1.171, allocations: 1.753 MB / 0.7734 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/1.173, allocations: 0.8879 MB / 0.7743 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005694/1.174, allocations: 152 kB / 0.7745 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005239/1.179, allocations: 1.478 MB / 0.7759 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000587/1.18, allocations: 481.8 kB / 0.7764 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/1.181, allocations: 0.7012 MB / 0.777 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.009238/1.19, allocations: 3.294 MB / 0.7803 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.19, allocations: 7.984 kB / 0.7803 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.525e-06/1.19, allocations: 0 / 0.7803 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000103/1.19, allocations: 0 / 0.7803 GB, free: 0.8789 MB / 0.6198 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.006872/1.197, allocations: 2.777 MB / 0.783 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/1.197, allocations: 9.469 kB / 0.783 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003034/1.198, allocations: 207 kB / 0.7832 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/1.199, allocations: 454 kB / 0.7836 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/1.202, allocations: 1.308 MB / 0.7849 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/1.202, allocations: 346.4 kB / 0.7852 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/1.202, allocations: 144 kB / 0.7854 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/1.205, allocations: 1.809 MB / 0.7871 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-05/1.205, allocations: 7.938 kB / 0.7871 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/1.206, allocations: 60 kB / 0.7872 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/1.206, allocations: 36 kB / 0.7872 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/1.208, allocations: 1.525 MB / 0.7887 GB, free: 7.965 MB / 0.6355 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.008527/1.217, allocations: 5.193 MB / 0.7938 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/1.219, allocations: 1.474 MB / 0.7952 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/1.22, allocations: 0.6599 MB / 0.7959 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004608/1.225, allocations: 2.652 MB / 0.7985 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/1.226, allocations: 0.9767 MB / 0.7994 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=141): time 6.022e-06/1.226, allocations: 0 / 0.7994 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=141): time 0.00682/1.233, allocations: 3.318 MB / 0.8027 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.233, allocations: 248.6 kB / 0.8029 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/1.235, allocations: 1.536 MB / 0.8044 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/1.235, allocations: 49.7 kB / 0.8044 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/1.236, allocations: 0.9117 MB / 0.8053 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/1.236, allocations: 0.5035 MB / 0.8058 GB, free: 6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/1.237, allocations: 263.5 kB / 0.8061 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002765/1.237, allocations: 301.1 kB / 0.8064 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008896/1.238, allocations: 0.5114 MB / 0.8069 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/1.239, allocations: 0.7872 MB / 0.8076 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/1.241, allocations: 1.362 MB / 0.809 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.241, allocations: 0 / 0.809 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004183/1.245, allocations: 2.264 MB / 0.8112 GB, free: 296 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.245, allocations: 10.97 kB / 0.8112 GB, free: 288 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.245, allocations: 9.312 kB / 0.8112 GB, free: 280 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/1.247, allocations: 0.6826 MB / 0.8119 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/1.248, allocations: 331.4 kB / 0.8122 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005641/1.253, allocations: 5.606 MB / 0.8176 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/1.254, allocations: 171 kB / 0.8178 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/1.254, allocations: 75.97 kB / 0.8179 GB, free: 9.039 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,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.0008495/1.255, allocations: 366.2 kB / 0.8182 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/1.256, allocations: 218.6 kB / 0.8184 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004322/1.26, allocations: 2.424 MB / 0.8208 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.26, allocations: 19.94 kB / 0.8208 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.26, allocations: 4 kB / 0.8208 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.26, allocations: 11.97 kB / 0.8208 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/1.266, allocations: 3.473 MB / 0.8242 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.266, allocations: 3.938 kB / 0.8242 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/1.266, allocations: 279.7 kB / 0.8245 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/1.268, allocations: 0.6745 MB / 0.8252 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.268, allocations: 55.95 kB / 0.8252 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/1.273, allocations: 5.54 MB / 0.8306 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.273, allocations: 4.031 kB / 0.8306 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/1.278, allocations: 2.986 MB / 0.8335 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/1.279, allocations: 326.1 kB / 0.8339 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.279, allocations: 35.98 kB / 0.8339 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/1.28, allocations: 75.94 kB / 0.834 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/1.28, allocations: 133 kB / 0.8341 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.766e-05/1.28, allocations: 67.97 kB / 0.8342 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001249/1.281, allocations: 1.02 MB / 0.8351 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/1.281, allocations: 3.938 kB / 0.8352 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002351/1.284, allocations: 0.7017 MB / 0.8358 GB, free: 6.082 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,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.00734/1.291, allocations: 4.481 MB / 0.8402 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003506/1.295, allocations: 1.78 MB / 0.842 GB, free: 15.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.295, allocations: 1.375 kB / 0.842 GB, free: 15.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.296, allocations: 1.124 MB / 0.8431 GB, free: 14.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/1.298, allocations: 0.604 MB / 0.8436 GB, free: 14.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/1.322, allocations: 14.69 MB / 0.858 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/1.323, allocations: 0.8451 MB / 0.8588 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001687/1.325, allocations: 0.5855 MB / 0.8594 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009666/1.325, allocations: 0.8673 MB / 0.8602 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of SimCode: time 2.104e-06/1.325, allocations: 0 / 0.8602 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08719/1.413, allocations: 56.33 MB / 0.9152 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.77, allocations: 11 kB / 0.9152 GB, free: 4.777 MB / 0.7605 GB " [Timeout remaining time 648] (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.507387395016849] Failed to read output from testmodel.py, exit status != 0: 11.910049970727414 11.917718655 10.725191858 Calling exit ...