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.001585/0.001585, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001741/0.001741, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6696/0.6696, allocations: 91.19 MB / 382.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 83.81 kB / 0.5175 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3069, allocations: 67.68 MB / 0.5836 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4617/0.7686, allocations: 192.4 MB / 0.7715 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005592/0.7743, allocations: 5.524 MB / 0.7769 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.775, allocations: 36.47 kB / 0.7769 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.7759, allocations: 412.4 kB / 0.7773 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.779, allocations: 1.443 MB / 0.7787 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.7808, allocations: 0.8295 MB / 0.7795 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.7843, allocations: 2.648 MB / 0.7821 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.7847, allocations: 251.5 kB / 0.7823 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.7878, allocations: 1.861 MB / 0.7842 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008313/0.7886, allocations: 0.6992 MB / 0.7848 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.7888, allocations: 73.03 kB / 0.7849 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.7912, allocations: 1.224 MB / 0.7861 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.7914, allocations: 189.3 kB / 0.7863 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.7917, allocations: 495.3 kB / 0.7868 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.794, allocations: 1.729 MB / 0.7885 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.794, allocations: 0 / 0.7885 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.794, allocations: 0.9375 kB / 0.7885 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.794, allocations: 0 / 0.7885 GB, free: 0.707 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.003009/0.797, allocations: 1.601 MB / 0.79 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.7971, allocations: 9.25 kB / 0.79 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.7982, allocations: 190.5 kB / 0.7902 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00098/0.7992, allocations: 0.7168 MB / 0.7909 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.7993, allocations: 72.58 kB / 0.791 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.7994, allocations: 70.14 kB / 0.791 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.8009, allocations: 0.8133 MB / 0.7918 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.8009, allocations: 0.9062 kB / 0.7918 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/0.801, allocations: 24.72 kB / 0.7919 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.801, allocations: 15.47 kB / 0.7919 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.8028, allocations: 0.6963 MB / 0.7926 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004499/0.8073, allocations: 3.612 MB / 0.7961 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.809, allocations: 0.6921 MB / 0.7968 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008112/0.8099, allocations: 342.7 kB / 0.7971 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008719/0.8107, allocations: 0.4985 MB / 0.7976 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.8118, allocations: 0.5098 MB / 0.7981 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.776e-06/0.8118, allocations: 1.094 kB / 0.7981 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.003357/0.8151, allocations: 1.357 MB / 0.7994 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.8152, allocations: 86.61 kB / 0.7995 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/0.8159, allocations: 0.6634 MB / 0.8001 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/0.816, allocations: 40.2 kB / 0.8002 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.8162, allocations: 396.8 kB / 0.8005 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.8164, allocations: 241.4 kB / 0.8008 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.8167, allocations: 169.4 kB / 0.8009 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8168, allocations: 334.4 kB / 0.8013 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000848/0.8176, allocations: 295 kB / 0.8015 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008945/0.8185, allocations: 397.6 kB / 0.8019 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.8202, allocations: 0.7359 MB / 0.8026 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.8202, allocations: 3.844 kB / 0.8026 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002287/0.8225, allocations: 1.032 MB / 0.8036 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.8226, allocations: 60.17 kB / 0.8037 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.8226, allocations: 14.2 kB / 0.8037 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/0.8229, allocations: 86.83 kB / 0.8038 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.8237, allocations: 186.3 kB / 0.804 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.826, allocations: 3.065 MB / 0.807 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.8267, allocations: 104.3 kB / 0.8071 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.8269, allocations: 82.92 kB / 0.8072 GB, free: 8.086 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.0003476/0.8272, allocations: 210.5 kB / 0.8074 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.8274, allocations: 90.92 kB / 0.8074 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/0.831, allocations: 1.79 MB / 0.8092 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.831, allocations: 5.484 kB / 0.8092 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/0.8311, allocations: 12.41 kB / 0.8092 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.8314, allocations: 254.7 kB / 0.8094 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.8315, allocations: 12.81 kB / 0.8095 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.8321, allocations: 59.75 kB / 0.8095 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.8323, allocations: 111.8 kB / 0.8096 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002722/0.8351, allocations: 1.119 MB / 0.8107 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003043/0.8381, allocations: 1.501 MB / 0.8122 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009271/0.8391, allocations: 377.3 kB / 0.8125 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00052/0.8396, allocations: 469 kB / 0.813 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of Backend: time 4.41e-07/0.8396, allocations: 0 / 0.813 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003315/0.8429, allocations: 1.508 MB / 0.8145 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002807/0.8458, allocations: 2.292 MB / 0.8167 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of Templates: time 0.03515/0.8809, allocations: 22.15 MB / 0.8383 GB, free: 14.07 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)