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.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_dev_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_dev_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.001336/0.001336, allocations: 106.9 kB / 16.41 MB, free: 6.5 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.001308/0.001308, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7636/0.7636, allocations: 97.65 MB / 388.8 MB, free: 1.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 81.8 kB / 0.5268 GB, free: 38.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1071, allocations: 69.24 MB / 0.5944 GB, free: 480 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.5188/0.6259, allocations: 192.9 MB / 0.7828 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006418/0.6323, allocations: 5.544 MB / 0.7882 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.6333, allocations: 35.92 kB / 0.7882 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009999/0.6343, allocations: 416.5 kB / 0.7886 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.6381, allocations: 1.45 MB / 0.79 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.6401, allocations: 0.826 MB / 0.7908 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003805/0.6439, allocations: 2.685 MB / 0.7935 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.6443, allocations: 154.1 kB / 0.7936 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.6475, allocations: 1.89 MB / 0.7955 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009998/0.6485, allocations: 0.7026 MB / 0.7961 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.6486, allocations: 69.94 kB / 0.7962 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.6513, allocations: 1.223 MB / 0.7974 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.6515, allocations: 195.9 kB / 0.7976 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.6519, allocations: 499.5 kB / 0.7981 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.6549, allocations: 1.735 MB / 0.7998 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6549, allocations: 0.8438 kB / 0.7998 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6549, allocations: 0 / 0.7998 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.655, allocations: 3.344 kB / 0.7998 GB, free: 0.8867 MB / 0.5919 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.003599/0.6586, allocations: 1.608 MB / 0.8013 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.6586, allocations: 11.06 kB / 0.8013 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.6598, allocations: 193.3 kB / 0.8015 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.661, allocations: 0.7241 MB / 0.8022 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/0.6611, allocations: 76.55 kB / 0.8023 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.6612, allocations: 68.95 kB / 0.8024 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.6628, allocations: 0.8098 MB / 0.8032 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.6628, allocations: 4.188 kB / 0.8032 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.6629, allocations: 22.41 kB / 0.8032 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.6629, allocations: 13.64 kB / 0.8032 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.6647, allocations: 0.6987 MB / 0.8039 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.6697, allocations: 3.615 MB / 0.8074 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.6716, allocations: 0.648 MB / 0.8081 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008416/0.6724, allocations: 327.1 kB / 0.8084 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009819/0.6734, allocations: 0.494 MB / 0.8088 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.6745, allocations: 0.5109 MB / 0.8093 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.755e-06/0.6745, allocations: 0 / 0.8093 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.003722/0.6783, allocations: 1.358 MB / 0.8107 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.6783, allocations: 87.42 kB / 0.8108 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008043/0.6791, allocations: 0.6723 MB / 0.8114 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.6792, allocations: 41.14 kB / 0.8115 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.6795, allocations: 390 kB / 0.8118 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.6798, allocations: 250.9 kB / 0.8121 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.68, allocations: 170.2 kB / 0.8122 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6802, allocations: 331.9 kB / 0.8125 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000847/0.681, allocations: 293.2 kB / 0.8128 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009176/0.6819, allocations: 399.2 kB / 0.8132 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.6837, allocations: 0.7397 MB / 0.8139 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6837, allocations: 3.312 kB / 0.8139 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002468/0.6862, allocations: 1.027 MB / 0.8149 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.6862, allocations: 62.66 kB / 0.815 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.6862, allocations: 14.38 kB / 0.815 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/0.6866, allocations: 80.06 kB / 0.8151 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.6874, allocations: 191.1 kB / 0.8153 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.6902, allocations: 3.063 MB / 0.8183 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/0.6911, allocations: 105.6 kB / 0.8184 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.6912, allocations: 80.97 kB / 0.8184 GB, free: 8.266 MB / 0.6075 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.0004461/0.6916, allocations: 205.2 kB / 0.8186 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.6918, allocations: 96.14 kB / 0.8187 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.6958, allocations: 1.79 MB / 0.8205 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.6958, allocations: 8.062 kB / 0.8205 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.6958, allocations: 2.969 kB / 0.8205 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.6958, allocations: 8.578 kB / 0.8205 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/0.6998, allocations: 1.955 MB / 0.8224 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/0.6998, allocations: 13.69 kB / 0.8224 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007223/0.7005, allocations: 171.3 kB / 0.8226 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.7008, allocations: 83.69 kB / 0.8227 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.314e-05/0.7009, allocations: 42.33 kB / 0.8227 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.7036, allocations: 3.067 MB / 0.8257 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7036, allocations: 1.062 kB / 0.8257 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.7071, allocations: 1.48 MB / 0.8271 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.7076, allocations: 253.2 kB / 0.8274 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.7078, allocations: 15.72 kB / 0.8274 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.7085, allocations: 54.38 kB / 0.8274 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.7087, allocations: 113.1 kB / 0.8276 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.7089, allocations: 74.47 kB / 0.8276 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006697/0.7095, allocations: 471.4 kB / 0.8281 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7095, allocations: 0 / 0.8281 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001231/0.7108, allocations: 342 kB / 0.8284 GB, free: 4.09 MB / 0.6075 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.000914/0.7117, allocations: 437.4 kB / 0.8288 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002647/0.7143, allocations: 1.173 MB / 0.83 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7143, allocations: 0 / 0.83 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.7159, allocations: 0.764 MB / 0.8307 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.7173, allocations: 273.4 kB / 0.831 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.7211, allocations: 1.837 MB / 0.8328 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.7218, allocations: 0.9764 MB / 0.8337 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001898/0.7237, allocations: 0.9925 MB / 0.8347 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005771/0.7242, allocations: 181.4 kB / 0.8349 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.7242, allocations: 0 / 0.8349 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of Templates: time 0.03403/0.7583, allocations: 18.35 MB / 0.8528 GB, free: 384 kB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile (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 & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1)