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.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.0018/0.0018, allocations: 115.6 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.001676/0.001676, 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.14 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.6604/0.6604, allocations: 100.3 MB / 409.8 MB, free: 5.41 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.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_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.003481/0.003481, allocations: 87.88 kB / 0.5589 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4243, allocations: 74.42 MB / 0.6315 GB, free: 2.422 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.2274/0.6517, allocations: 193.1 MB / 0.8202 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008533/0.6602, allocations: 5.551 MB / 0.8256 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.6613, allocations: 47.56 kB / 0.8256 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.6626, allocations: 429.1 kB / 0.826 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004922/0.6676, allocations: 1.45 MB / 0.8275 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.6701, allocations: 0.8252 MB / 0.8283 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005026/0.6751, allocations: 2.73 MB / 0.8309 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/0.6756, allocations: 151.4 kB / 0.8311 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.6795, allocations: 1.956 MB / 0.833 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.6809, allocations: 0.7198 MB / 0.8337 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002745/0.6811, allocations: 72 kB / 0.8338 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.6846, allocations: 1.252 MB / 0.835 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.6849, allocations: 195.1 kB / 0.8352 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007229/0.6856, allocations: 489.3 kB / 0.8356 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.6917, allocations: 1.748 MB / 0.8373 GB, free: 24 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.6917, allocations: 0 / 0.8373 GB, free: 24 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6917, allocations: 0 / 0.8373 GB, free: 24 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.925e-05/0.6918, allocations: 0 / 0.8373 GB, free: 24 kB / 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.3183/1.01, allocations: 1.611 MB / 0.8389 GB, free: 206 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.01, allocations: 13.94 kB / 0.8389 GB, free: 206 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.044e-05/1.01, allocations: 15.53 kB / 0.8389 GB, free: 206 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/1.01, allocations: 105.8 kB / 0.839 GB, free: 205.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/1.012, allocations: 190.5 kB / 0.8392 GB, free: 205.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/1.013, allocations: 0.7333 MB / 0.8399 GB, free: 205.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.014, allocations: 78.34 kB / 0.84 GB, free: 205.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/1.014, allocations: 62.17 kB / 0.8401 GB, free: 205.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/1.016, allocations: 0.811 MB / 0.8409 GB, free: 205 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/1.016, allocations: 5.438 kB / 0.8409 GB, free: 205 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/1.016, allocations: 25.89 kB / 0.8409 GB, free: 205 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/1.016, allocations: 15.75 kB / 0.8409 GB, free: 205 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/1.018, allocations: 0.6913 MB / 0.8416 GB, free: 204.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004642/1.023, allocations: 3.616 MB / 0.8451 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/1.025, allocations: 0.6513 MB / 0.8457 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/1.025, allocations: 325.3 kB / 0.8461 GB, free: 201.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007429/1.026, allocations: 0.4959 MB / 0.8465 GB, free: 200.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009769/1.027, allocations: 0.502 MB / 0.847 GB, free: 200.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 2.334e-06/1.027, allocations: 3.969 kB / 0.847 GB, free: 200.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.003378/1.03, allocations: 1.353 MB / 0.8484 GB, free: 199.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.03, allocations: 88.7 kB / 0.8484 GB, free: 199.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/1.031, allocations: 0.6755 MB / 0.8491 GB, free: 199.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/1.031, allocations: 41.7 kB / 0.8491 GB, free: 199.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/1.031, allocations: 397 kB / 0.8495 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/1.031, allocations: 241.6 kB / 0.8498 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/1.032, allocations: 170.6 kB / 0.8499 GB, free: 198.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/1.032, allocations: 334 kB / 0.8502 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/1.033, allocations: 293.7 kB / 0.8505 GB, free: 197.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/1.033, allocations: 394 kB / 0.8509 GB, free: 197.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/1.035, allocations: 0.7352 MB / 0.8516 GB, free: 196.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.035, allocations: 0 / 0.8516 GB, free: 196.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002252/1.037, allocations: 1.024 MB / 0.8526 GB, free: 195.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/1.037, allocations: 67.39 kB / 0.8527 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/1.037, allocations: 11.94 kB / 0.8527 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/1.038, allocations: 89.5 kB / 0.8528 GB, free: 195.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/1.038, allocations: 183.7 kB / 0.8529 GB, free: 195.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/1.04, allocations: 3.065 MB / 0.8559 GB, free: 191.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/1.041, allocations: 103.4 kB / 0.856 GB, free: 191.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.041, allocations: 87.97 kB / 0.8561 GB, free: 191.6 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.0004472/1.041, allocations: 203.4 kB / 0.8563 GB, free: 191.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/1.042, allocations: 95.39 kB / 0.8564 GB, free: 191.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/1.045, allocations: 1.793 MB / 0.8582 GB, free: 189.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.045, allocations: 7.938 kB / 0.8582 GB, free: 189.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.045, allocations: 4 kB / 0.8582 GB, free: 189.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.045, allocations: 7.922 kB / 0.8582 GB, free: 189.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/1.048, allocations: 1.941 MB / 0.8601 GB, free: 187.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.048, allocations: 11.98 kB / 0.8601 GB, free: 187.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/1.049, allocations: 175.7 kB / 0.8602 GB, free: 187.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/1.049, allocations: 81.73 kB / 0.8603 GB, free: 187.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/1.049, allocations: 47.91 kB / 0.8604 GB, free: 187.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/1.051, allocations: 3.077 MB / 0.8634 GB, free: 183.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.051, allocations: 0 / 0.8634 GB, free: 183.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/1.054, allocations: 1.468 MB / 0.8648 GB, free: 182.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/1.054, allocations: 256.2 kB / 0.8651 GB, free: 182 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/1.054, allocations: 16 kB / 0.8651 GB, free: 182 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/1.055, allocations: 63.86 kB / 0.8651 GB, free: 181.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/1.055, allocations: 103.9 kB / 0.8652 GB, free: 181.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.055, allocations: 79.97 kB / 0.8653 GB, free: 181.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004692/1.056, allocations: 467 kB / 0.8658 GB, free: 181.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.056, allocations: 0 / 0.8658 GB, free: 181.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001128/1.057, allocations: 351.3 kB / 0.8661 GB, free: 181 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.003885/1.061, allocations: 2.316 MB / 0.8683 GB, free: 178.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002419/1.063, allocations: 1.176 MB / 0.8695 GB, free: 177.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.063, allocations: 3.938 kB / 0.8695 GB, free: 177.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/1.065, allocations: 0.7854 MB / 0.8703 GB, free: 176.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.066, allocations: 265.4 kB / 0.8705 GB, free: 176.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.078, allocations: 7.293 MB / 0.8776 GB, free: 168.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/1.078, allocations: 0.9823 MB / 0.8786 GB, free: 167.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001418/1.08, allocations: 0.995 MB / 0.8796 GB, free: 166.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006859/1.081, allocations: 447.2 kB / 0.88 GB, free: 166.3 MB / 0.6544 GB Notification: Performance of SimCode: time 1.603e-06/1.081, allocations: 0 / 0.88 GB, free: 166.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05093/1.132, allocations: 26.93 MB / 0.9063 GB, free: 139.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.33, allocations: 3.984 kB / 0.9063 GB, free: 139.8 MB / 0.6544 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0025 --timeout=1200 --tolerance=1e-06 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: 16.969860351993702] Failed to read output from testmodel.py, exit status != 0: 13.487759345967788 13.505416648 12.808911847 Calling exit ...