Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001909/0.001909, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.002275/0.002275, allocations: 214.4 kB / 20.13 MB, free: 3.055 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.56/1.56, 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 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6418/0.6418, allocations: 94.57 MB / 404.1 MB, free: 10.94 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/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_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_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.002668/0.002668, allocations: 79.88 kB / 0.5506 GB, free: 5.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.407, allocations: 73.02 MB / 0.6219 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.2306/0.6376, allocations: 189.9 MB / 0.8074 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.6488, allocations: 7.384 MB / 0.8146 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.6498, allocations: 47.56 kB / 0.8146 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.6512, allocations: 377.5 kB / 0.815 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004549/0.6557, allocations: 1.325 MB / 0.8163 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.658, allocations: 0.6734 MB / 0.8169 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004501/0.6625, allocations: 2.465 MB / 0.8194 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.6629, allocations: 123.8 kB / 0.8195 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.6662, allocations: 1.734 MB / 0.8212 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6673, allocations: 0.6031 MB / 0.8218 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.6675, allocations: 56 kB / 0.8218 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.6704, allocations: 1.171 MB / 0.8229 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.6706, allocations: 159.2 kB / 0.8231 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006145/0.6712, allocations: 405.7 kB / 0.8235 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.6763, allocations: 1.499 MB / 0.825 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.6763, allocations: 0 / 0.825 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6763, allocations: 0 / 0.825 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.85e-05/0.6764, allocations: 0 / 0.825 GB, free: 11.5 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.00379/0.6801, allocations: 1.422 MB / 0.8263 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6802, allocations: 12.03 kB / 0.8264 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.521e-05/0.6802, allocations: 17 kB / 0.8264 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.6803, allocations: 86.52 kB / 0.8264 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.6814, allocations: 163.3 kB / 0.8266 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.6825, allocations: 0.6747 MB / 0.8273 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.6826, allocations: 33 kB / 0.8273 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.6827, allocations: 51.95 kB / 0.8273 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.6839, allocations: 0.5936 MB / 0.8279 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.684, allocations: 3.938 kB / 0.8279 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.684, allocations: 23.98 kB / 0.828 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.684, allocations: 12 kB / 0.828 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.6853, allocations: 464.1 kB / 0.8284 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.6894, allocations: 2.674 MB / 0.831 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.6906, allocations: 432.8 kB / 0.8314 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.6912, allocations: 213.6 kB / 0.8316 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/0.6915, allocations: 271.2 kB / 0.8319 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008282/0.6923, allocations: 399.2 kB / 0.8323 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=54): time 2.685e-06/0.6923, allocations: 0 / 0.8323 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54): time 0.002998/0.6953, allocations: 1.038 MB / 0.8333 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.6954, allocations: 93.05 kB / 0.8334 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008815/0.6963, allocations: 0.5905 MB / 0.834 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/0.6964, allocations: 37.7 kB / 0.834 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.6967, allocations: 361.2 kB / 0.8343 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.6969, allocations: 194.4 kB / 0.8345 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.6972, allocations: 138.2 kB / 0.8346 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6973, allocations: 326 kB / 0.835 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/0.6979, allocations: 193 kB / 0.8351 GB, free: 488 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/0.6985, allocations: 266.6 kB / 0.8354 GB, free: 204 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3166/1.015, allocations: 0.5039 MB / 0.8359 GB, free: 210.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.015, allocations: 0.5 kB / 0.8359 GB, free: 210.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002416/1.018, allocations: 0.782 MB / 0.8367 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/1.018, allocations: 60.73 kB / 0.8367 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.756e-05/1.018, allocations: 13.97 kB / 0.8367 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/1.018, allocations: 88.47 kB / 0.8368 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/1.019, allocations: 126.2 kB / 0.8369 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/1.021, allocations: 3.051 MB / 0.8399 GB, free: 207.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/1.021, allocations: 64.11 kB / 0.84 GB, free: 207.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.022, allocations: 61.64 kB / 0.84 GB, free: 207.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.0003591/1.022, allocations: 194 kB / 0.8402 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.022, allocations: 77.77 kB / 0.8403 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/1.025, allocations: 1.302 MB / 0.8416 GB, free: 207 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/1.025, allocations: 13.89 kB / 0.8416 GB, free: 207 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.025, allocations: 1.406 kB / 0.8416 GB, free: 207 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/1.025, allocations: 2.031 kB / 0.8416 GB, free: 207 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/1.028, allocations: 1.59 MB / 0.8431 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/1.028, allocations: 13.42 kB / 0.8431 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/1.028, allocations: 115.1 kB / 0.8433 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/1.028, allocations: 89.7 kB / 0.8433 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.839e-05/1.029, allocations: 37.75 kB / 0.8434 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/1.03, allocations: 3.055 MB / 0.8464 GB, free: 203.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.03, allocations: 1.406 kB / 0.8464 GB, free: 203.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/1.033, allocations: 1.134 MB / 0.8475 GB, free: 202.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/1.033, allocations: 225.1 kB / 0.8477 GB, free: 202.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/1.033, allocations: 16.52 kB / 0.8477 GB, free: 202.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/1.034, allocations: 40.16 kB / 0.8477 GB, free: 202.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/1.034, allocations: 85.64 kB / 0.8478 GB, free: 202.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.034, allocations: 66.84 kB / 0.8479 GB, free: 202.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000516/1.034, allocations: 419.7 kB / 0.8483 GB, free: 202 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/1.034, allocations: 1.438 kB / 0.8483 GB, free: 202 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001159/1.036, allocations: 301.1 kB / 0.8486 GB, free: 201.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.003453/1.039, allocations: 1.983 MB / 0.8505 GB, free: 200.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001953/1.041, allocations: 0.9524 MB / 0.8514 GB, free: 200 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.041, allocations: 0 / 0.8514 GB, free: 200 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/1.042, allocations: 0.6476 MB / 0.8521 GB, free: 199.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/1.043, allocations: 221.2 kB / 0.8523 GB, free: 199.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009415/1.053, allocations: 6.124 MB / 0.8583 GB, free: 194.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/1.053, allocations: 0.9309 MB / 0.8592 GB, free: 193.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001037/1.054, allocations: 0.6757 MB / 0.8598 GB, free: 193.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/1.054, allocations: 359.2 kB / 0.8602 GB, free: 192.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.153e-06/1.054, allocations: 8 kB / 0.8602 GB, free: 192.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05516/1.11, allocations: 23.33 MB / 0.883 GB, free: 169.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.69, allocations: 17.23 kB / 0.883 GB, free: 169.8 MB / 0.6544 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0025 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.274782593012787] Failed to read output from testmodel.py, exit status != 0: 13.842542070022319 13.861936888 13.181731788 Calling exit ...