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.001453/0.001453, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001622/0.001622, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.337/1.337, allocations: 222.9 MB / 241.1 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.6956/0.6956, allocations: 91.19 MB / 382.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 79.88 kB / 0.5175 GB, free: 4.145 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2807, allocations: 67.69 MB / 0.5836 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4666/0.7473, allocations: 192.4 MB / 0.7715 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005342/0.7527, allocations: 5.523 MB / 0.7769 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005975/0.7533, allocations: 35.72 kB / 0.7769 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.7542, allocations: 411.1 kB / 0.7773 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.7571, allocations: 1.438 MB / 0.7787 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.7589, allocations: 0.8251 MB / 0.7795 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.7618, allocations: 2.651 MB / 0.7821 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.7621, allocations: 242.8 kB / 0.7823 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.7647, allocations: 1.859 MB / 0.7841 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007364/0.7655, allocations: 0.708 MB / 0.7848 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.7656, allocations: 72.09 kB / 0.7849 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.7678, allocations: 1.219 MB / 0.7861 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.768, allocations: 191.1 kB / 0.7863 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.7683, allocations: 493.1 kB / 0.7868 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.7703, allocations: 1.725 MB / 0.7884 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7703, allocations: 0 / 0.7884 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7703, allocations: 2.312 kB / 0.7884 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.7703, allocations: 4.125 kB / 0.7884 GB, free: 0.6758 MB / 0.5762 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.003049/0.7734, allocations: 1.556 MB / 0.79 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.7734, allocations: 11.39 kB / 0.79 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.7745, allocations: 181.3 kB / 0.7901 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.7756, allocations: 0.7119 MB / 0.7908 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.7756, allocations: 78.83 kB / 0.7909 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.7758, allocations: 67.02 kB / 0.791 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.7773, allocations: 0.8109 MB / 0.7918 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.7773, allocations: 0 / 0.7918 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.7774, allocations: 28.03 kB / 0.7918 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.7774, allocations: 18.69 kB / 0.7918 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.7791, allocations: 0.6911 MB / 0.7925 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/0.7838, allocations: 3.61 MB / 0.796 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.7857, allocations: 0.6932 MB / 0.7967 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008119/0.7865, allocations: 347.6 kB / 0.797 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008688/0.7874, allocations: 0.4945 MB / 0.7975 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.7885, allocations: 0.5143 MB / 0.798 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 3.396e-06/0.7886, allocations: 1 kB / 0.798 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003671/0.7922, allocations: 1.358 MB / 0.7993 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.7923, allocations: 83.61 kB / 0.7994 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.793, allocations: 0.6635 MB / 0.8001 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.515e-05/0.7931, allocations: 41.05 kB / 0.8001 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.7934, allocations: 388 kB / 0.8005 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.7936, allocations: 232.6 kB / 0.8007 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.7939, allocations: 167 kB / 0.8009 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.794, allocations: 329.6 kB / 0.8012 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008404/0.7948, allocations: 294.3 kB / 0.8015 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009414/0.7958, allocations: 401.3 kB / 0.8018 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.7975, allocations: 0.736 MB / 0.8026 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7976, allocations: 1.188 kB / 0.8026 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002436/0.8, allocations: 1.028 MB / 0.8036 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.8001, allocations: 60.84 kB / 0.8036 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.8001, allocations: 11.53 kB / 0.8036 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003362/0.8004, allocations: 83.44 kB / 0.8037 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/0.8012, allocations: 190.1 kB / 0.8039 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.8035, allocations: 3.052 MB / 0.8069 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/0.8043, allocations: 111 kB / 0.807 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.8044, allocations: 81.55 kB / 0.8071 GB, free: 8.129 MB / 0.5919 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.0003954/0.8048, allocations: 213.9 kB / 0.8073 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.8049, allocations: 89.98 kB / 0.8073 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/0.8085, allocations: 1.787 MB / 0.8091 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.8085, allocations: 2.625 kB / 0.8091 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.8086, allocations: 10.81 kB / 0.8091 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.8089, allocations: 246.8 kB / 0.8093 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.8091, allocations: 24.62 kB / 0.8094 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.8096, allocations: 59.58 kB / 0.8094 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.8099, allocations: 110 kB / 0.8095 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002746/0.8126, allocations: 1.118 MB / 0.8106 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003089/0.8157, allocations: 1.49 MB / 0.8121 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009593/0.8167, allocations: 385.7 kB / 0.8124 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005196/0.8172, allocations: 461.7 kB / 0.8129 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of Backend: time 4.5e-07/0.8172, allocations: 4 kB / 0.8129 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003377/0.8206, allocations: 1.521 MB / 0.8144 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002879/0.8235, allocations: 2.25 MB / 0.8166 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of Templates: time 0.0332/0.8567, allocations: 22.15 MB / 0.8382 GB, free: 14.22 MB / 0.6231 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 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1)