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.0009101/0.0009101, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008754/0.0008754, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9581/0.9581, allocations: 230.6 MB / 256 MB, free: 9.602 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.6127/0.6127, allocations: 101.7 MB / 414.1 MB, free: 18.55 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.001062/0.001062, allocations: 79.88 kB / 0.5654 GB, free: 2.637 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3862, allocations: 74.83 MB / 0.6384 GB, free: 24.26 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.CentrifugalPump): time 0.1696/0.5558, allocations: 183.8 MB / 0.8179 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.458/1.014, allocations: 19.17 MB / 0.8367 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/1.016, allocations: 97.59 kB / 0.8368 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002986/1.019, allocations: 1.016 MB / 0.8377 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006502/1.026, allocations: 2.445 MB / 0.8401 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004158/1.03, allocations: 1.581 MB / 0.8417 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003322/1.033, allocations: 3.093 MB / 0.8447 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005188/1.034, allocations: 288.5 kB / 0.845 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/1.036, allocations: 1.323 MB / 0.8463 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/1.037, allocations: 1.047 MB / 0.8473 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/1.037, allocations: 150.8 kB / 0.8474 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/1.04, allocations: 1.477 MB / 0.8489 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/1.04, allocations: 472.4 kB / 0.8493 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006598/1.041, allocations: 0.8859 MB / 0.8502 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/1.044, allocations: 3.231 MB / 0.8533 GB, free: 1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.044, allocations: 0 / 0.8533 GB, free: 1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.156e-06/1.044, allocations: 3.094 kB / 0.8533 GB, free: 1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.559e-05/1.044, allocations: 0 / 0.8533 GB, free: 1 MB / 0.6355 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.003559/1.047, allocations: 2.789 MB / 0.8561 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.047, allocations: 8.875 kB / 0.8561 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/1.047, allocations: 208.8 kB / 0.8563 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/1.049, allocations: 440.8 kB / 0.8567 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/1.05, allocations: 1.317 MB / 0.858 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/1.051, allocations: 340.4 kB / 0.8583 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/1.051, allocations: 145.1 kB / 0.8584 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/1.053, allocations: 1.815 MB / 0.8602 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/1.053, allocations: 4.125 kB / 0.8602 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/1.053, allocations: 58.28 kB / 0.8603 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/1.053, allocations: 40.97 kB / 0.8603 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/1.055, allocations: 1.527 MB / 0.8618 GB, free: 14.33 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.00546/1.06, allocations: 5.197 MB / 0.8669 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/1.062, allocations: 1.477 MB / 0.8683 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/1.063, allocations: 0.6594 MB / 0.869 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003715/1.066, allocations: 2.657 MB / 0.8716 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/1.067, allocations: 0.9727 MB / 0.8725 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=141): time 3.277e-06/1.067, allocations: 0.9375 kB / 0.8725 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=141): time 0.006439/1.074, allocations: 3.31 MB / 0.8758 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.074, allocations: 251.2 kB / 0.876 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.075, allocations: 1.535 MB / 0.8775 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/1.075, allocations: 48.3 kB / 0.8775 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/1.076, allocations: 0.9126 MB / 0.8784 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/1.076, allocations: 0.5017 MB / 0.8789 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/1.077, allocations: 258.9 kB / 0.8792 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0005106/1.077, allocations: 303.9 kB / 0.8795 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/1.078, allocations: 0.5135 MB / 0.88 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/1.079, allocations: 0.7925 MB / 0.8807 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/1.08, allocations: 1.352 MB / 0.882 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/1.08, allocations: 2.969 kB / 0.8821 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003646/1.084, allocations: 2.271 MB / 0.8843 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.084, allocations: 8.281 kB / 0.8843 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.084, allocations: 9.719 kB / 0.8843 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/1.086, allocations: 0.6747 MB / 0.8849 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/1.087, allocations: 331.4 kB / 0.8853 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004795/1.091, allocations: 5.611 MB / 0.8907 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008986/1.092, allocations: 167.6 kB / 0.8909 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/1.093, allocations: 80.28 kB / 0.891 GB, free: 4.141 MB / 0.6511 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.0008022/1.093, allocations: 367.3 kB / 0.8913 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/1.094, allocations: 216.1 kB / 0.8915 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/1.098, allocations: 2.43 MB / 0.8939 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/1.098, allocations: 20.73 kB / 0.8939 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.098, allocations: 5.719 kB / 0.8939 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.098, allocations: 7.547 kB / 0.8939 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/1.102, allocations: 3.476 MB / 0.8973 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.102, allocations: 0 / 0.8973 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/1.103, allocations: 280.8 kB / 0.8976 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/1.105, allocations: 0.6726 MB / 0.8983 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/1.105, allocations: 55.25 kB / 0.8983 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004231/1.109, allocations: 5.548 MB / 0.9037 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.109, allocations: 6.031 kB / 0.9037 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/1.113, allocations: 2.982 MB / 0.9066 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005993/1.114, allocations: 333.8 kB / 0.907 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/1.114, allocations: 36.62 kB / 0.907 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/1.115, allocations: 76.14 kB / 0.9071 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/1.115, allocations: 124.1 kB / 0.9072 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-05/1.115, allocations: 67.62 kB / 0.9073 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001035/1.116, allocations: 1.025 MB / 0.9083 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.1e-08/1.116, allocations: 4 kB / 0.9083 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001658/1.118, allocations: 0.6981 MB / 0.9089 GB, free: 13.29 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 (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.006279/1.124, allocations: 4.452 MB / 0.9133 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003199/1.127, allocations: 1.783 MB / 0.915 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.127, allocations: 4.25 kB / 0.915 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/1.128, allocations: 1.117 MB / 0.9161 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/1.13, allocations: 0.6118 MB / 0.9167 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.15, allocations: 15.03 MB / 0.9314 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/1.151, allocations: 0.8449 MB / 0.9322 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001345/1.152, allocations: 0.5782 MB / 0.9328 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008005/1.153, allocations: 0.8655 MB / 0.9336 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of SimCode: time 1.694e-06/1.153, allocations: 0 / 0.9336 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07478/1.228, allocations: 56.1 MB / 0.9884 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/12.33, allocations: 7.328 kB / 0.9884 GB, free: 13.8 MB / 0.7448 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.04802091512829] Failed to read output from testmodel.py, exit status != 0: 12.466269811149687 12.476984689 11.43140586 Calling exit ...