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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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: translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 98.83 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 193 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6703/0.6703, allocations: 89.51 MB / 380.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 75.88 kB / 459.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1149, allocations: 67.31 MB / 0.5146 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3649/0.4799, allocations: 192.2 MB / 0.7023 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006579/0.4865, allocations: 5.459 MB / 0.7076 GB, free: 1.445 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.4869, allocations: 11.94 kB / 0.7076 GB, free: 1.434 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009513/0.4879, allocations: 405.3 kB / 0.708 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.4912, allocations: 1.368 MB / 0.7094 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.4931, allocations: 0.8213 MB / 0.7102 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003412/0.4965, allocations: 2.535 MB / 0.7126 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.4969, allocations: 226.1 kB / 0.7129 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.4997, allocations: 1.783 MB / 0.7146 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008287/0.5005, allocations: 0.6733 MB / 0.7153 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.5006, allocations: 72 kB / 0.7153 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.503, allocations: 1.217 MB / 0.7165 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.5032, allocations: 183.2 kB / 0.7167 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.5036, allocations: 453.7 kB / 0.7171 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.5057, allocations: 1.597 MB / 0.7187 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5057, allocations: 0 / 0.7187 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5057, allocations: 0 / 0.7187 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.5057, allocations: 4 kB / 0.7187 GB, free: 6.121 MB / 0.5606 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.00302/0.5088, allocations: 1.432 MB / 0.7201 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.5088, allocations: 8.031 kB / 0.7201 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.5099, allocations: 170.8 kB / 0.7203 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/0.5107, allocations: 0.4982 MB / 0.7207 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.529e-05/0.5108, allocations: 79 kB / 0.7208 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.5109, allocations: 72.47 kB / 0.7209 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.5125, allocations: 0.8077 MB / 0.7217 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.5125, allocations: 4.781 kB / 0.7217 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.5126, allocations: 23.98 kB / 0.7217 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5126, allocations: 16 kB / 0.7217 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.5145, allocations: 0.6931 MB / 0.7224 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.5192, allocations: 3.56 MB / 0.7259 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.521, allocations: 0.6972 MB / 0.7266 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008587/0.5219, allocations: 353.8 kB / 0.7269 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009141/0.5228, allocations: 497.7 kB / 0.7274 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.524, allocations: 0.5059 MB / 0.7279 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.825e-06/0.524, allocations: 4 kB / 0.7279 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.003567/0.5276, allocations: 1.333 MB / 0.7292 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.5276, allocations: 85.11 kB / 0.7292 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/0.5283, allocations: 0.5226 MB / 0.7298 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.5284, allocations: 47.89 kB / 0.7298 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.5286, allocations: 324.6 kB / 0.7301 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.5288, allocations: 232.6 kB / 0.7303 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.5291, allocations: 170.5 kB / 0.7305 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5292, allocations: 386.7 kB / 0.7309 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008165/0.5301, allocations: 293.7 kB / 0.7311 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/0.531, allocations: 390.4 kB / 0.7315 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.5327, allocations: 0.7429 MB / 0.7322 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.5327, allocations: 4 kB / 0.7322 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002373/0.5351, allocations: 1.008 MB / 0.7332 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.5352, allocations: 59.62 kB / 0.7333 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.5352, allocations: 15.98 kB / 0.7333 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/0.5355, allocations: 81.66 kB / 0.7334 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/0.5363, allocations: 187.7 kB / 0.7336 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.5388, allocations: 3.053 MB / 0.7365 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.5395, allocations: 107.2 kB / 0.7366 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.5396, allocations: 87.97 kB / 0.7367 GB, free: 2.57 MB / 0.5762 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.0003664/0.54, allocations: 191.4 kB / 0.7369 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5402, allocations: 71.16 kB / 0.737 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/0.5441, allocations: 1.783 MB / 0.7387 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.5441, allocations: 4 kB / 0.7387 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5441, allocations: 8.875 kB / 0.7387 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.5441, allocations: 3.984 kB / 0.7387 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1929/0.7371, allocations: 1.899 MB / 0.7406 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/0.7371, allocations: 14.11 kB / 0.7406 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.7378, allocations: 167.5 kB / 0.7408 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002919/0.7381, allocations: 88.47 kB / 0.7408 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/0.7382, allocations: 44.5 kB / 0.7409 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.7399, allocations: 3.065 MB / 0.7439 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.74, allocations: 6.359 kB / 0.7439 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.743, allocations: 1.451 MB / 0.7453 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.7433, allocations: 235.1 kB / 0.7455 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.7435, allocations: 18.47 kB / 0.7456 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.7442, allocations: 54.45 kB / 0.7456 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.7444, allocations: 117.1 kB / 0.7457 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.7445, allocations: 76.27 kB / 0.7458 GB, free: 182 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003852/0.7449, allocations: 376.5 kB / 0.7461 GB, free: 182 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7449, allocations: 0 / 0.7461 GB, free: 182 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001011/0.7459, allocations: 339 kB / 0.7465 GB, free: 182 MB / 0.5762 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.0008122/0.7468, allocations: 432.8 kB / 0.7469 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.7491, allocations: 1.204 MB / 0.7481 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.7491, allocations: 3.844 kB / 0.7481 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.7504, allocations: 0.7828 MB / 0.7488 GB, free: 181 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.7516, allocations: 251.4 kB / 0.7491 GB, free: 181 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.7546, allocations: 1.654 MB / 0.7507 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.7549, allocations: 0.9291 MB / 0.7516 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001451/0.7564, allocations: 0.9788 MB / 0.7525 GB, free: 179.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.7568, allocations: 167.2 kB / 0.7527 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.7569, allocations: 0 / 0.7527 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.03051/0.7874, allocations: 17.79 MB / 0.7701 GB, free: 178.2 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile (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 & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1)