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.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.001564/0.001564, allocations: 114 kB / 17.6 MB, free: 4.699 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.001645/0.001645, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.503/1.503, 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.6181/0.6181, allocations: 94.6 MB / 399.1 MB, free: 15.76 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.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 0.00241/0.00241, allocations: 79.88 kB / 0.5444 GB, free: 12.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4388, allocations: 71.84 MB / 0.6145 GB, free: 3.84 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.2223/0.6611, allocations: 193.4 MB / 0.8034 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008604/0.6697, allocations: 5.586 MB / 0.8088 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.671, allocations: 31.81 kB / 0.8089 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.6723, allocations: 417.1 kB / 0.8093 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.6775, allocations: 1.453 MB / 0.8107 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.6803, allocations: 0.829 MB / 0.8115 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005502/0.6858, allocations: 2.695 MB / 0.8141 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.6863, allocations: 151.4 kB / 0.8143 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.6905, allocations: 1.878 MB / 0.8161 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.6919, allocations: 0.7198 MB / 0.8168 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.6921, allocations: 76 kB / 0.8169 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.6952, allocations: 1.241 MB / 0.8181 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.6955, allocations: 195.1 kB / 0.8183 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005592/0.696, allocations: 0.4895 MB / 0.8187 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.6993, allocations: 1.736 MB / 0.8204 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6993, allocations: 0 / 0.8204 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6993, allocations: 0 / 0.8204 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.6993, allocations: 4 kB / 0.8204 GB, free: 1.473 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003554/0.7028, allocations: 1.62 MB / 0.822 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7029, allocations: 8.031 kB / 0.822 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.703, allocations: 106.5 kB / 0.8221 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.7042, allocations: 191.2 kB / 0.8223 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.7054, allocations: 0.729 MB / 0.823 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.885e-05/0.7055, allocations: 71.02 kB / 0.8231 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.7057, allocations: 75.98 kB / 0.8232 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.7074, allocations: 0.8038 MB / 0.8239 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.7074, allocations: 0 / 0.8239 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/0.7075, allocations: 20 kB / 0.824 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.7075, allocations: 16 kB / 0.824 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.7094, allocations: 0.6969 MB / 0.8247 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005344/0.7148, allocations: 3.618 MB / 0.8282 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.7167, allocations: 0.6633 MB / 0.8288 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000899/0.7176, allocations: 321.8 kB / 0.8292 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009259/0.7185, allocations: 0.4977 MB / 0.8296 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.7197, allocations: 0.5086 MB / 0.8301 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 2.966e-06/0.7197, allocations: 0 / 0.8301 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.003835/0.7236, allocations: 1.354 MB / 0.8315 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.7236, allocations: 89.09 kB / 0.8315 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/0.7246, allocations: 0.6651 MB / 0.8322 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.293e-05/0.7247, allocations: 45.64 kB / 0.8322 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.7251, allocations: 393 kB / 0.8326 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.7253, allocations: 242 kB / 0.8328 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.7256, allocations: 174.6 kB / 0.833 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7258, allocations: 333.9 kB / 0.8333 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00087/0.7267, allocations: 293.8 kB / 0.8336 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009443/0.7276, allocations: 398.3 kB / 0.834 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.7294, allocations: 0.7312 MB / 0.8347 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7294, allocations: 0 / 0.8347 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002648/0.7321, allocations: 1.026 MB / 0.8357 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-05/0.7321, allocations: 75.55 kB / 0.8358 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/0.7322, allocations: 11.98 kB / 0.8358 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.7326, allocations: 77.66 kB / 0.8359 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.7333, allocations: 183.8 kB / 0.836 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.7362, allocations: 3.066 MB / 0.839 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.737, allocations: 107.5 kB / 0.8391 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.7372, allocations: 87.95 kB / 0.8392 GB, free: 13.14 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (77): * Single equations (assignments): 69 * 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.0004415/0.7376, allocations: 201.7 kB / 0.8394 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.7378, allocations: 95.33 kB / 0.8395 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.7418, allocations: 1.791 MB / 0.8412 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.7418, allocations: 8 kB / 0.8413 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7418, allocations: 4 kB / 0.8413 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.7418, allocations: 7.984 kB / 0.8413 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.7459, allocations: 1.955 MB / 0.8432 GB, free: 8.984 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/0.7459, allocations: 16.02 kB / 0.8432 GB, free: 8.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.7466, allocations: 167.8 kB / 0.8434 GB, free: 8.805 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/0.7469, allocations: 81.64 kB / 0.8434 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.712e-05/0.747, allocations: 51.95 kB / 0.8435 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002655/0.7496, allocations: 3.058 MB / 0.8465 GB, free: 5.324 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7497, allocations: 8.062 kB / 0.8465 GB, free: 5.316 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.7532, allocations: 1.471 MB / 0.8479 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.7536, allocations: 256.2 kB / 0.8482 GB, free: 3.547 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.7537, allocations: 16 kB / 0.8482 GB, free: 3.531 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.7544, allocations: 55.94 kB / 0.8482 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.7546, allocations: 115.8 kB / 0.8483 GB, free: 3.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.7548, allocations: 71.98 kB / 0.8484 GB, free: 3.293 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006302/0.7554, allocations: 471 kB / 0.8489 GB, free: 2.84 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.7554, allocations: 0 / 0.8489 GB, free: 2.84 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001177/0.7566, allocations: 347.3 kB / 0.8492 GB, free: 2.5 MB / 0.67 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 (66): * Single equations (assignments): 56 * 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.004649/0.7612, allocations: 2.338 MB / 0.8515 GB, free: 136 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002742/0.764, allocations: 1.175 MB / 0.8526 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.764, allocations: 0 / 0.8526 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.7655, allocations: 0.7735 MB / 0.8534 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.7669, allocations: 251.2 kB / 0.8536 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.7804, allocations: 7.314 MB / 0.8607 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.7811, allocations: 0.9785 MB / 0.8617 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001845/0.7829, allocations: 0.9868 MB / 0.8627 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008442/0.7838, allocations: 455.2 kB / 0.8631 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.7838, allocations: 0 / 0.8631 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3414/1.125, allocations: 26.91 MB / 0.8894 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.91, allocations: 12.5 kB / 0.8894 GB, free: 227.3 MB / 0.6856 GB " [Timeout remaining time 646] (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: 17.3070982049976] Failed to read output from testmodel.py, exit status != 0: 14.01524406898534 14.034964601 13.331518604 Calling exit ...