Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.00129/0.00129, allocations: 117.1 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.001758/0.001758, allocations: 215 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.486/1.486, 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.6123/0.6123, allocations: 94.58 MB / 404.1 MB, free: 10.93 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.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.002439/0.002439, allocations: 87.88 kB / 0.5506 GB, free: 5.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3901, allocations: 73.01 MB / 0.6219 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.228/0.6182, allocations: 193.1 MB / 0.8105 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008409/0.6266, allocations: 5.543 MB / 0.8159 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.6277, allocations: 51.56 kB / 0.816 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.6289, allocations: 421.1 kB / 0.8164 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004866/0.6338, allocations: 1.453 MB / 0.8178 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.6363, allocations: 0.8291 MB / 0.8186 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00452/0.6408, allocations: 2.726 MB / 0.8213 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.6412, allocations: 147.4 kB / 0.8214 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003708/0.6449, allocations: 1.956 MB / 0.8233 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.646, allocations: 0.7238 MB / 0.824 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.6462, allocations: 72 kB / 0.8241 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.6493, allocations: 1.245 MB / 0.8253 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.6495, allocations: 195.1 kB / 0.8255 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005867/0.6501, allocations: 497.3 kB / 0.826 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.6536, allocations: 1.744 MB / 0.8277 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6536, allocations: 0 / 0.8277 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6537, allocations: 0 / 0.8277 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.594e-05/0.6537, allocations: 3.938 kB / 0.8277 GB, free: 8.695 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004572/0.6582, allocations: 1.609 MB / 0.8292 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.6583, allocations: 12.03 kB / 0.8292 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.314e-05/0.6584, allocations: 13.31 kB / 0.8293 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.6585, allocations: 114.4 kB / 0.8294 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.6599, allocations: 191.2 kB / 0.8295 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.6613, allocations: 0.7214 MB / 0.8303 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.6614, allocations: 75.02 kB / 0.8303 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.6616, allocations: 71.95 kB / 0.8304 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.6634, allocations: 0.8077 MB / 0.8312 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.6634, allocations: 4 kB / 0.8312 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.6635, allocations: 20 kB / 0.8312 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.6635, allocations: 19.94 kB / 0.8312 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.6655, allocations: 0.6969 MB / 0.8319 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.6709, allocations: 3.618 MB / 0.8354 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3098/0.9806, allocations: 0.6478 MB / 0.8361 GB, free: 211 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.9817, allocations: 317 kB / 0.8364 GB, free: 210.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008702/0.9826, allocations: 0.4998 MB / 0.8369 GB, free: 210.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/0.984, allocations: 0.5115 MB / 0.8374 GB, free: 210.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 3.066e-06/0.984, allocations: 0 / 0.8374 GB, free: 210.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.003911/0.9879, allocations: 1.36 MB / 0.8387 GB, free: 209.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.9879, allocations: 85.36 kB / 0.8388 GB, free: 209.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000859/0.9888, allocations: 0.6688 MB / 0.8394 GB, free: 209.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.9889, allocations: 41.17 kB / 0.8395 GB, free: 209.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.9891, allocations: 395.6 kB / 0.8398 GB, free: 209.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.9893, allocations: 244.1 kB / 0.8401 GB, free: 209 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.9896, allocations: 171.1 kB / 0.8402 GB, free: 208.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.9896, allocations: 334.2 kB / 0.8406 GB, free: 208.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008349/0.9905, allocations: 296.7 kB / 0.8408 GB, free: 208.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008547/0.9913, allocations: 394.5 kB / 0.8412 GB, free: 208.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.9931, allocations: 0.743 MB / 0.8419 GB, free: 208 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.9931, allocations: 1.281 kB / 0.8419 GB, free: 208 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002819/0.9959, allocations: 1.025 MB / 0.8429 GB, free: 207.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.996, allocations: 62.42 kB / 0.843 GB, free: 207.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/0.996, allocations: 9.281 kB / 0.843 GB, free: 207.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.9964, allocations: 87.86 kB / 0.8431 GB, free: 207.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007577/0.9972, allocations: 186.9 kB / 0.8433 GB, free: 207.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.999, allocations: 3.061 MB / 0.8463 GB, free: 204.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007614/0.9997, allocations: 102.2 kB / 0.8464 GB, free: 204.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.9999, allocations: 88.03 kB / 0.8464 GB, free: 204.3 MB / 0.6544 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.000402/1, allocations: 200.8 kB / 0.8466 GB, free: 204.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/1, allocations: 93.17 kB / 0.8467 GB, free: 204 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/1.004, allocations: 1.802 MB / 0.8485 GB, free: 203.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/1.004, allocations: 8.156 kB / 0.8485 GB, free: 203.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.004, allocations: 5.922 kB / 0.8485 GB, free: 203.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/1.004, allocations: 1.094 kB / 0.8485 GB, free: 203.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/1.008, allocations: 1.941 MB / 0.8504 GB, free: 201.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/1.008, allocations: 11.92 kB / 0.8504 GB, free: 201.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/1.008, allocations: 173.8 kB / 0.8506 GB, free: 201.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/1.009, allocations: 93.14 kB / 0.8507 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/1.009, allocations: 35.73 kB / 0.8507 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/1.01, allocations: 3.077 MB / 0.8537 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.01, allocations: 3.844 kB / 0.8537 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/1.013, allocations: 1.47 MB / 0.8551 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/1.014, allocations: 257.4 kB / 0.8554 GB, free: 197.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/1.014, allocations: 19.86 kB / 0.8554 GB, free: 197.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/1.014, allocations: 59.44 kB / 0.8555 GB, free: 197.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/1.015, allocations: 107.9 kB / 0.8556 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.015, allocations: 70.81 kB / 0.8556 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005212/1.015, allocations: 471.3 kB / 0.8561 GB, free: 197.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/1.015, allocations: 0 / 0.8561 GB, free: 197.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001063/1.016, allocations: 349 kB / 0.8564 GB, free: 197 MB / 0.6544 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.00372/1.02, allocations: 2.332 MB / 0.8587 GB, free: 194.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00237/1.022, allocations: 1.179 MB / 0.8598 GB, free: 193.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.022, allocations: 0 / 0.8598 GB, free: 193.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.024, allocations: 0.7731 MB / 0.8606 GB, free: 192.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/1.025, allocations: 261.3 kB / 0.8608 GB, free: 192.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.036, allocations: 7.309 MB / 0.868 GB, free: 184.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.036, allocations: 0.9708 MB / 0.8689 GB, free: 183.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001368/1.038, allocations: 0.9841 MB / 0.8699 GB, free: 182.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006631/1.038, allocations: 451.2 kB / 0.8703 GB, free: 182.4 MB / 0.6544 GB Notification: Performance of SimCode: time 8.81e-07/1.038, allocations: 4 kB / 0.8703 GB, free: 182.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04922/1.088, allocations: 26.89 MB / 0.8966 GB, free: 155.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.45, allocations: 26.61 kB / 0.8966 GB, free: 155.8 MB / 0.6544 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0025 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 16.936875146988314] Failed to read output from testmodel.py, exit status != 0: 13.60974660498323 13.622645307 12.966152158 Calling exit ...