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.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.001811/0.001811, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002416/0.002416, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.7074/0.7074, allocations: 100.3 MB / 409.8 MB, free: 5.379 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 79.88 kB / 0.5589 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4266, allocations: 74.42 MB / 0.6315 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.2263/0.6529, allocations: 190 MB / 0.817 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009824/0.6628, allocations: 7.382 MB / 0.8243 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007603/0.6635, allocations: 43.62 kB / 0.8243 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.6645, allocations: 381.4 kB / 0.8247 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.6687, allocations: 1.324 MB / 0.826 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.6712, allocations: 0.6695 MB / 0.8266 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005064/0.6763, allocations: 2.465 MB / 0.829 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.6767, allocations: 131.8 kB / 0.8291 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.6803, allocations: 1.73 MB / 0.8308 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.6814, allocations: 0.607 MB / 0.8314 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.6815, allocations: 56 kB / 0.8315 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.6845, allocations: 1.17 MB / 0.8326 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.6847, allocations: 159.2 kB / 0.8328 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.6853, allocations: 401.7 kB / 0.8332 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.6892, allocations: 1.499 MB / 0.8346 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6892, allocations: 0 / 0.8346 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6892, allocations: 8 kB / 0.8346 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.6892, allocations: 0 / 0.8346 GB, free: 2.789 MB / 0.6544 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.003497/0.6927, allocations: 1.425 MB / 0.836 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.6927, allocations: 12.03 kB / 0.836 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.492e-05/0.6927, allocations: 9 kB / 0.836 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.6929, allocations: 86.52 kB / 0.8361 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.6939, allocations: 159.3 kB / 0.8363 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6953, allocations: 0.6825 MB / 0.8369 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.6953, allocations: 37 kB / 0.837 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.6954, allocations: 51.95 kB / 0.837 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2877/0.9831, allocations: 0.5845 MB / 0.8376 GB, free: 206.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.9832, allocations: 1.078 kB / 0.8376 GB, free: 206.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.9832, allocations: 21.92 kB / 0.8376 GB, free: 206.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.9833, allocations: 12.06 kB / 0.8376 GB, free: 206.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.9848, allocations: 465.9 kB / 0.8381 GB, free: 206 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.9889, allocations: 2.681 MB / 0.8407 GB, free: 204.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.9901, allocations: 429 kB / 0.8411 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.9907, allocations: 220.6 kB / 0.8413 GB, free: 203.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.9909, allocations: 266 kB / 0.8416 GB, free: 203.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007529/0.9917, allocations: 396.8 kB / 0.8419 GB, free: 203.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=54): time 2.815e-06/0.9917, allocations: 0 / 0.8419 GB, free: 203.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54): time 0.002612/0.9943, allocations: 1.035 MB / 0.843 GB, free: 203 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.9943, allocations: 95.69 kB / 0.843 GB, free: 202.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.9949, allocations: 0.601 MB / 0.8436 GB, free: 202.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.995, allocations: 40.89 kB / 0.8437 GB, free: 202.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.9952, allocations: 351 kB / 0.844 GB, free: 202.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.9953, allocations: 186.1 kB / 0.8442 GB, free: 202.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.9956, allocations: 139 kB / 0.8443 GB, free: 202.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.9956, allocations: 325.9 kB / 0.8446 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.9961, allocations: 199.5 kB / 0.8448 GB, free: 201.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.9966, allocations: 257 kB / 0.8451 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/0.9976, allocations: 0.5177 MB / 0.8456 GB, free: 201.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.9976, allocations: 3.984 kB / 0.8456 GB, free: 201.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001482/0.9991, allocations: 0.7738 MB / 0.8463 GB, free: 200.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.9991, allocations: 59.31 kB / 0.8464 GB, free: 200.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/0.9992, allocations: 15.86 kB / 0.8464 GB, free: 200.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.9995, allocations: 83.41 kB / 0.8465 GB, free: 200.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/1, allocations: 122.8 kB / 0.8466 GB, free: 200.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/1.002, allocations: 3.057 MB / 0.8496 GB, free: 197.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/1.002, allocations: 65.84 kB / 0.8496 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/1.002, allocations: 67.23 kB / 0.8497 GB, free: 197.5 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.0003175/1.003, allocations: 189.4 kB / 0.8499 GB, free: 197.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/1.003, allocations: 78.42 kB / 0.85 GB, free: 197.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/1.005, allocations: 1.292 MB / 0.8512 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.005, allocations: 11.95 kB / 0.8512 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.005, allocations: 15.31 kB / 0.8512 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/1.005, allocations: 0 / 0.8512 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.008, allocations: 1.58 MB / 0.8528 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.008, allocations: 19.92 kB / 0.8528 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/1.008, allocations: 115.9 kB / 0.8529 GB, free: 194.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002663/1.008, allocations: 96.02 kB / 0.853 GB, free: 194.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/1.008, allocations: 35.92 kB / 0.853 GB, free: 194.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/1.01, allocations: 3.052 MB / 0.856 GB, free: 191.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.01, allocations: 0 / 0.856 GB, free: 191.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/1.012, allocations: 1.135 MB / 0.8571 GB, free: 190 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/1.012, allocations: 224.3 kB / 0.8573 GB, free: 189.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/1.012, allocations: 16 kB / 0.8574 GB, free: 189.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/1.013, allocations: 35.97 kB / 0.8574 GB, free: 189.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/1.013, allocations: 95.72 kB / 0.8575 GB, free: 189.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/1.013, allocations: 67.97 kB / 0.8576 GB, free: 189.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003777/1.013, allocations: 419 kB / 0.858 GB, free: 189.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 0.858 GB, free: 189.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009218/1.014, allocations: 299.4 kB / 0.8582 GB, free: 188.9 MB / 0.6544 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.002753/1.017, allocations: 1.989 MB / 0.8602 GB, free: 186.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00162/1.019, allocations: 0.9443 MB / 0.8611 GB, free: 185.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.019, allocations: 4.25 kB / 0.8611 GB, free: 185.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008903/1.02, allocations: 0.6519 MB / 0.8617 GB, free: 185.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.021, allocations: 227 kB / 0.862 GB, free: 185 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008333/1.029, allocations: 6.109 MB / 0.8679 GB, free: 178.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/1.029, allocations: 0.9386 MB / 0.8688 GB, free: 177.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001013/1.03, allocations: 0.6719 MB / 0.8695 GB, free: 177.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/1.031, allocations: 363.2 kB / 0.8698 GB, free: 176.7 MB / 0.6544 GB Notification: Performance of SimCode: time 9.21e-07/1.031, allocations: 0 / 0.8698 GB, free: 176.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/1.079, allocations: 23.35 MB / 0.8926 GB, free: 153.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.48, allocations: 15.97 kB / 0.8927 GB, free: 153.6 MB / 0.6544 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0025 --timeout=1200 --tolerance=1e-06 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: 17.184277902997565] Failed to read output from testmodel.py, exit status != 0: 13.633338826010004 13.64334541 12.951780681 Calling exit ...