Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.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.001019/0.001019, 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.001055/0.001055, 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 1.02/1.02, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.8872/0.8872, allocations: 116 MB / 375.2 MB, free: 4.195 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.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.764e-05, allocations: 5.938 kB / 0.5533 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.7397/0.7397, allocations: 169.8 MB / 0.719 GB, free: 7.77 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.005049/0.7448, allocations: 3.325 MB / 0.7223 GB, free: 5.109 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007088/0.7455, allocations: 52.88 kB / 0.7223 GB, free: 5.078 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009458/0.7464, allocations: 391.8 kB / 0.7227 GB, free: 4.758 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00367/0.7501, allocations: 1.608 MB / 0.7243 GB, free: 3.5 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.7517, allocations: 0.8557 MB / 0.7251 GB, free: 2.859 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003343/0.755, allocations: 3.053 MB / 0.7281 GB, free: 1.098 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.7553, allocations: 146 kB / 0.7282 GB, free: 1 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002907/0.7582, allocations: 2.304 MB / 0.7305 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.7589, allocations: 0.6365 MB / 0.7311 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.124e-05/0.759, allocations: 72.09 kB / 0.7312 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.761, allocations: 1.057 MB / 0.7322 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.7612, allocations: 199.2 kB / 0.7324 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.7616, allocations: 359.2 kB / 0.7327 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.764, allocations: 1.871 MB / 0.7346 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.764, allocations: 0 / 0.7346 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.418e-06/0.764, allocations: 0 / 0.7346 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.764, allocations: 0 / 0.7346 GB, free: 13.43 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003474/0.7675, allocations: 1.558 MB / 0.7361 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.7675, allocations: 10.5 kB / 0.7361 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.7676, allocations: 105 kB / 0.7362 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007048/0.7683, allocations: 213.3 kB / 0.7364 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.7693, allocations: 0.658 MB / 0.737 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.7695, allocations: 103.6 kB / 0.7371 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.7696, allocations: 74.92 kB / 0.7372 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.7707, allocations: 0.8027 MB / 0.738 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.7708, allocations: 4 kB / 0.738 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.7708, allocations: 24.88 kB / 0.738 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.7709, allocations: 20.33 kB / 0.738 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.772, allocations: 0.6819 MB / 0.7387 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.7754, allocations: 2.59 MB / 0.7412 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.7767, allocations: 0.6635 MB / 0.7419 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.7772, allocations: 312.9 kB / 0.7422 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004134/0.7777, allocations: 122.1 kB / 0.7423 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008703/0.7785, allocations: 0.5018 MB / 0.7428 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=69): time 2.104e-06/0.7785, allocations: 0 / 0.7428 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69): time 0.002202/0.7807, allocations: 1.195 MB / 0.744 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.7808, allocations: 84.8 kB / 0.744 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.7814, allocations: 0.6977 MB / 0.7447 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.7815, allocations: 42.64 kB / 0.7448 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.7818, allocations: 402.9 kB / 0.7451 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.7819, allocations: 247 kB / 0.7454 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.7821, allocations: 165.5 kB / 0.7455 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.7823, allocations: 341.9 kB / 0.7459 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.7828, allocations: 334.5 kB / 0.7462 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009807/0.7837, allocations: 455.1 kB / 0.7466 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.7848, allocations: 0.7315 MB / 0.7473 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7848, allocations: 0 / 0.7473 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001492/0.7863, allocations: 1.082 MB / 0.7484 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.7864, allocations: 59.69 kB / 0.7484 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.7864, allocations: 19.92 kB / 0.7485 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/0.7867, allocations: 81.31 kB / 0.7485 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.787, allocations: 192.3 kB / 0.7487 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.789, allocations: 2.833 MB / 0.7515 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.7893, allocations: 100.6 kB / 0.7516 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.7894, allocations: 82.16 kB / 0.7517 GB, free: 1.094 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003013/0.7897, allocations: 212.7 kB / 0.7519 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.7898, allocations: 97.02 kB / 0.752 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.7922, allocations: 1.756 MB / 0.7537 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.7922, allocations: 8 kB / 0.7537 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.7922, allocations: 8.812 kB / 0.7537 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.7922, allocations: 3.984 kB / 0.7537 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.7944, allocations: 1.742 MB / 0.7554 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.7944, allocations: 11.98 kB / 0.7554 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/0.7953, allocations: 167.7 kB / 0.7556 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.7955, allocations: 85.59 kB / 0.7557 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.7955, allocations: 51.38 kB / 0.7557 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.7972, allocations: 2.828 MB / 0.7585 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7972, allocations: 0 / 0.7585 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.7991, allocations: 1.43 MB / 0.7599 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.7993, allocations: 179.1 kB / 0.76 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.7994, allocations: 12.09 kB / 0.76 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.7997, allocations: 63.86 kB / 0.7601 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.7999, allocations: 114.5 kB / 0.7602 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/0.8, allocations: 75.97 kB / 0.7603 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004134/0.8004, allocations: 483 kB / 0.7607 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.8004, allocations: 0 / 0.7607 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008627/0.8013, allocations: 347.5 kB / 0.7611 GB, free: 7.945 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003085/0.8044, allocations: 2.27 MB / 0.7633 GB, free: 5.637 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.806, allocations: 1.211 MB / 0.7645 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.806, allocations: 0 / 0.7645 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.8069, allocations: 0.7471 MB / 0.7652 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.808, allocations: 393.3 kB / 0.7656 GB, free: 3.164 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008981/0.817, allocations: 7.301 MB / 0.7727 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.8173, allocations: 392.3 kB / 0.7731 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001321/0.8186, allocations: 0.9911 MB / 0.7741 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005558/0.8192, allocations: 448.3 kB / 0.7745 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of SimCode: time 9.11e-07/0.8192, allocations: 4 kB / 0.7745 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05796/0.8772, allocations: 31.19 MB / 0.8049 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.299/10.18, allocations: 13.69 kB / 0.805 GB, free: 11.04 MB / 0.6511 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.csv --start-time 0 --stop-time 2.5 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0025 ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 13.670687972567976] Failed to read output from testmodel.py, exit status != 0: 10.277992856688797 10.288563489 9.52247783 Calling exit ...