Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6334/0.6334, allocations: 94.61 MB / 399.1 MB, free: 15.73 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 87.86 kB / 0.5444 GB, free: 12.53 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4125, allocations: 71.85 MB / 0.6145 GB, free: 3.816 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.237/0.6495, allocations: 190.2 MB / 0.8002 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.6597, allocations: 7.419 MB / 0.8075 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007986/0.6605, allocations: 31.81 kB / 0.8075 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.6616, allocations: 381.5 kB / 0.8079 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003982/0.6656, allocations: 1.316 MB / 0.8092 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.6675, allocations: 0.6811 MB / 0.8098 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004187/0.6717, allocations: 2.426 MB / 0.8122 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.672, allocations: 131.8 kB / 0.8123 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.6753, allocations: 1.672 MB / 0.814 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009468/0.6763, allocations: 0.5953 MB / 0.8145 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.6764, allocations: 56 kB / 0.8146 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.6792, allocations: 1.17 MB / 0.8157 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.6794, allocations: 155.2 kB / 0.8159 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.6799, allocations: 401.7 kB / 0.8163 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.6828, allocations: 1.499 MB / 0.8177 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6829, allocations: 0 / 0.8177 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6829, allocations: 0 / 0.8177 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.6829, allocations: 0 / 0.8177 GB, free: 4.188 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002921/0.6858, allocations: 1.41 MB / 0.8191 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6858, allocations: 8.031 kB / 0.8191 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.6859, allocations: 90.52 kB / 0.8192 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.687, allocations: 167.3 kB / 0.8194 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.6881, allocations: 0.6709 MB / 0.82 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.6881, allocations: 37 kB / 0.8201 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.6882, allocations: 51.98 kB / 0.8201 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.6894, allocations: 0.5896 MB / 0.8207 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6895, allocations: 3.938 kB / 0.8207 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.6895, allocations: 20 kB / 0.8207 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.6895, allocations: 15.98 kB / 0.8207 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.6907, allocations: 468.1 kB / 0.8212 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.6947, allocations: 2.673 MB / 0.8238 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.6959, allocations: 441.7 kB / 0.8242 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/0.6964, allocations: 221.6 kB / 0.8244 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.6967, allocations: 267.2 kB / 0.8247 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008143/0.6976, allocations: 394.4 kB / 0.825 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=54): time 2.285e-06/0.6976, allocations: 0 / 0.825 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54): time 0.002784/0.7003, allocations: 1.042 MB / 0.8261 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.7004, allocations: 81.11 kB / 0.8261 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008081/0.7012, allocations: 0.5943 MB / 0.8267 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.589e-05/0.7013, allocations: 45.69 kB / 0.8268 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.7016, allocations: 349.2 kB / 0.8271 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.7018, allocations: 190.4 kB / 0.8273 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.702, allocations: 146.2 kB / 0.8274 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7022, allocations: 322 kB / 0.8277 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.7027, allocations: 201 kB / 0.8279 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.7033, allocations: 258.6 kB / 0.8282 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.7045, allocations: 0.5197 MB / 0.8287 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7045, allocations: 0 / 0.8287 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00183/0.7063, allocations: 0.7792 MB / 0.8294 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-05/0.7064, allocations: 55.41 kB / 0.8295 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-05/0.7064, allocations: 15.98 kB / 0.8295 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.7068, allocations: 81.75 kB / 0.8296 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.7073, allocations: 119.9 kB / 0.8297 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.7101, allocations: 3.063 MB / 0.8327 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.7107, allocations: 59.64 kB / 0.8327 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.7108, allocations: 63.98 kB / 0.8328 GB, free: 3.812 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 52 * 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.0003532/0.7112, allocations: 185.7 kB / 0.833 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.7113, allocations: 83.42 kB / 0.8331 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.7142, allocations: 1.303 MB / 0.8343 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.7142, allocations: 12 kB / 0.8343 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7142, allocations: 4 kB / 0.8343 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.7142, allocations: 7.984 kB / 0.8343 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.7172, allocations: 1.587 MB / 0.8359 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.7172, allocations: 15.98 kB / 0.8359 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.7177, allocations: 119.8 kB / 0.836 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003185/0.7181, allocations: 85.66 kB / 0.8361 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/0.7181, allocations: 39.97 kB / 0.8361 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.721, allocations: 3.052 MB / 0.8391 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.721, allocations: 0 / 0.8391 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.7235, allocations: 1.131 MB / 0.8402 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.7239, allocations: 224.4 kB / 0.8404 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.724, allocations: 16 kB / 0.8405 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.7245, allocations: 35.97 kB / 0.8405 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.7247, allocations: 91.83 kB / 0.8406 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.7249, allocations: 67.91 kB / 0.8406 GB, free: 11.34 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005791/0.7254, allocations: 423 kB / 0.841 GB, free: 10.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7254, allocations: 0 / 0.841 GB, free: 10.93 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001108/0.7265, allocations: 299.4 kB / 0.8413 GB, free: 10.64 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * 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.003575/0.7301, allocations: 1.988 MB / 0.8433 GB, free: 8.617 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00202/0.7321, allocations: 0.9634 MB / 0.8442 GB, free: 7.578 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7321, allocations: 0 / 0.8442 GB, free: 7.578 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.7334, allocations: 0.6446 MB / 0.8448 GB, free: 6.883 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.7347, allocations: 220.3 kB / 0.8451 GB, free: 6.672 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.7457, allocations: 6.12 MB / 0.851 GB, free: 396 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.7464, allocations: 0.9309 MB / 0.8519 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001337/0.7478, allocations: 0.6719 MB / 0.8526 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006487/0.7484, allocations: 359.3 kB / 0.8529 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/0.7484, allocations: 0 / 0.8529 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3947/1.143, allocations: 23.31 MB / 0.8757 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.6, allocations: 7.188 kB / 0.8757 GB, free: 233.1 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.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_Processes_Tests_TransportDelay.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 16.98395993298618] Failed to read output from testmodel.py, exit status != 0: 13.697327815985773 13.721697854 13.034862532 Calling exit ...