Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008344/0.0008345, allocations: 171.9 kB / 16.11 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205 MB / 221.9 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000686/0.0006861, allocations: 90.34 kB / 269.9 MB, free: 8.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5935/0.5935, allocations: 90.51 MB / 408.3 MB, free: 3.926 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002625, allocations: 8.219 kB / 484.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2304, allocations: 65.8 MB / 0.5378 GB, free: 34.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3655/0.596, allocations: 196.9 MB / 0.7301 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007336/0.6034, allocations: 8.38 MB / 0.7383 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005898/0.604, allocations: 12.25 kB / 0.7383 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.6048, allocations: 355.8 kB / 0.7386 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.608, allocations: 1.417 MB / 0.74 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.6113, allocations: 1.439 MB / 0.7414 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002994/0.6143, allocations: 2.946 MB / 0.7443 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.6146, allocations: 191 kB / 0.7445 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.6168, allocations: 1.73 MB / 0.7461 GB, free: 492 kB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.6174, allocations: 0.6423 MB / 0.7468 GB, free: 484 kB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.6175, allocations: 34.53 kB / 0.7468 GB, free: 484 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.6212, allocations: 2.193 MB / 0.7489 GB, free: 448 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.6213, allocations: 138.6 kB / 0.7491 GB, free: 448 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.6216, allocations: 400 kB / 0.7495 GB, free: 448 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.6245, allocations: 2.326 MB / 0.7517 GB, free: 192 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6245, allocations: 2.906 kB / 0.7517 GB, free: 192 kB / 0.4948 GB Notification: Performance of FrontEnd: time 9.31e-07/0.6246, allocations: 0 / 0.7517 GB, free: 192 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.6246, allocations: 0 / 0.7517 GB, free: 192 kB / 0.4948 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.002933/0.6275, allocations: 1.486 MB / 0.7532 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.6276, allocations: 10.75 kB / 0.7532 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009889/0.6285, allocations: 174.8 kB / 0.7534 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.6291, allocations: 499 kB / 0.7538 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.6292, allocations: 79.19 kB / 0.7539 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6293, allocations: 59.12 kB / 0.754 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.6308, allocations: 0.8479 MB / 0.7548 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.6308, allocations: 2.938 kB / 0.7548 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.067e-05/0.6309, allocations: 25.61 kB / 0.7548 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.6309, allocations: 18.75 kB / 0.7548 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.6325, allocations: 0.7757 MB / 0.7556 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.6365, allocations: 3.627 MB / 0.7591 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.6383, allocations: 0.8125 MB / 0.7599 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/0.6392, allocations: 426.5 kB / 0.7603 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/0.641, allocations: 1.672 MB / 0.762 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.6421, allocations: 0.5942 MB / 0.7626 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=76): time 2.335e-06/0.6421, allocations: 0 / 0.7626 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76): time 0.003526/0.6457, allocations: 1.561 MB / 0.7641 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.6457, allocations: 89.83 kB / 0.7642 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.6462, allocations: 465.9 kB / 0.7646 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/0.6462, allocations: 43.67 kB / 0.7647 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.6464, allocations: 308.4 kB / 0.7649 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.6466, allocations: 251.4 kB / 0.7652 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.6467, allocations: 13.97 kB / 0.7652 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6468, allocations: 377.4 kB / 0.7656 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008736/0.6477, allocations: 361.3 kB / 0.7659 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008841/0.6486, allocations: 458.5 kB / 0.7663 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.6504, allocations: 0.8611 MB / 0.7672 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6504, allocations: 1.219 kB / 0.7672 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003082/0.6535, allocations: 1.155 MB / 0.7683 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.6536, allocations: 69.25 kB / 0.7684 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/0.6536, allocations: 11.98 kB / 0.7684 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/0.6539, allocations: 77.66 kB / 0.7685 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.6548, allocations: 195.6 kB / 0.7686 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.6573, allocations: 2.85 MB / 0.7714 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007993/0.6581, allocations: 123.4 kB / 0.7716 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.6583, allocations: 95.97 kB / 0.7716 GB, free: 2.391 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * 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.0003607/0.6587, allocations: 189.4 kB / 0.7718 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.6588, allocations: 67.16 kB / 0.7719 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.6633, allocations: 1.398 MB / 0.7733 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.6633, allocations: 7.984 kB / 0.7733 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/0.6633, allocations: 7.984 kB / 0.7733 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.6637, allocations: 251.9 kB / 0.7735 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.6639, allocations: 18.53 kB / 0.7735 GB, free: 444 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/0.6646, allocations: 87.77 kB / 0.7736 GB, free: 356 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.6649, allocations: 116.3 kB / 0.7737 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003517/0.6684, allocations: 1.307 MB / 0.775 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003204/0.6716, allocations: 1.745 MB / 0.7767 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009745/0.6726, allocations: 467.7 kB / 0.7771 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003092/0.6729, allocations: 321.7 kB / 0.7775 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of Backend: time 3.8e-07/0.6729, allocations: 0 / 0.7775 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00436/0.6773, allocations: 2.138 MB / 0.7795 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of SimCode: time 0.002612/0.6799, allocations: 2.383 MB / 0.7819 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of Templates: time 0.03484/0.7148, allocations: 26.33 MB / 0.8076 GB, free: 13.72 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1)