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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 77.31 kB / 19.76 MB, free: 2.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 162.4 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.374/1.374, allocations: 177.2 MB / 203.4 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7141/0.7141, allocations: 79.6 MB / 339.4 MB, free: 11.53 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 87.19 kB / 0.4924 GB, free: 25.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1096, allocations: 74.59 MB / 0.5652 GB, free: 6.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4563/0.5659, allocations: 167.1 MB / 0.7284 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005667/0.5715, allocations: 5.099 MB / 0.7334 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.5722, allocations: 50.22 kB / 0.7334 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008826/0.5731, allocations: 371.9 kB / 0.7338 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.5764, allocations: 1.453 MB / 0.7352 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.5783, allocations: 0.8468 MB / 0.736 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00347/0.5818, allocations: 2.759 MB / 0.7387 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.5821, allocations: 146 kB / 0.7389 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003308/0.5854, allocations: 2.234 MB / 0.741 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.5862, allocations: 0.6816 MB / 0.7417 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.5863, allocations: 71.25 kB / 0.7418 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.5884, allocations: 1.053 MB / 0.7428 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.5886, allocations: 200.3 kB / 0.743 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.5889, allocations: 397.5 kB / 0.7434 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.5912, allocations: 1.734 MB / 0.7451 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5912, allocations: 7.875 kB / 0.7451 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5912, allocations: 3.094 kB / 0.7451 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.5912, allocations: 0.9062 kB / 0.7451 GB, free: 3.301 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.003401/0.5946, allocations: 1.528 MB / 0.7466 GB, free: 18.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.5947, allocations: 12.69 kB / 0.7466 GB, free: 18.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.5958, allocations: 205.4 kB / 0.7468 GB, free: 18.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.597, allocations: 0.642 MB / 0.7474 GB, free: 18.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.943e-05/0.5971, allocations: 99.19 kB / 0.7475 GB, free: 18.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.5972, allocations: 65.08 kB / 0.7476 GB, free: 18.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.5986, allocations: 0.8015 MB / 0.7483 GB, free: 18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.5987, allocations: 11.02 kB / 0.7484 GB, free: 18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.022e-05/0.5988, allocations: 26.53 kB / 0.7484 GB, free: 18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.5988, allocations: 13.84 kB / 0.7484 GB, free: 18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.6006, allocations: 0.6848 MB / 0.7491 GB, free: 18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.6046, allocations: 2.379 MB / 0.7514 GB, free: 17.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.6063, allocations: 0.6701 MB / 0.752 GB, free: 17.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.6071, allocations: 311.1 kB / 0.7523 GB, free: 16.99 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006991/0.6078, allocations: 119 kB / 0.7524 GB, free: 16.99 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.6088, allocations: 0.5043 MB / 0.7529 GB, free: 16.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.475e-06/0.6089, allocations: 0 / 0.7529 GB, free: 16.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.003236/0.6121, allocations: 1.188 MB / 0.7541 GB, free: 16.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.6122, allocations: 86.75 kB / 0.7542 GB, free: 16.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.6128, allocations: 0.6347 MB / 0.7548 GB, free: 16.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.6129, allocations: 38.48 kB / 0.7548 GB, free: 16.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.6131, allocations: 406.6 kB / 0.7552 GB, free: 16.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.6132, allocations: 246.9 kB / 0.7555 GB, free: 16.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.6135, allocations: 164.7 kB / 0.7556 GB, free: 16.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6136, allocations: 330.8 kB / 0.7559 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/0.6144, allocations: 346.8 kB / 0.7563 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/0.6153, allocations: 446.3 kB / 0.7567 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.6169, allocations: 0.7276 MB / 0.7574 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.6169, allocations: 0.9062 kB / 0.7574 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002248/0.6191, allocations: 1.058 MB / 0.7584 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.6192, allocations: 67.84 kB / 0.7585 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.6192, allocations: 9.375 kB / 0.7585 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.6195, allocations: 97.59 kB / 0.7586 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.6202, allocations: 187.4 kB / 0.7588 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.6225, allocations: 2.788 MB / 0.7615 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.6232, allocations: 97.27 kB / 0.7616 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.6233, allocations: 84.19 kB / 0.7617 GB, free: 12.02 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.0003435/0.6236, allocations: 210 kB / 0.7619 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.6238, allocations: 91.23 kB / 0.762 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/0.6273, allocations: 1.753 MB / 0.7637 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6273, allocations: 8.688 kB / 0.7637 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6273, allocations: 0 / 0.7637 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.6273, allocations: 5.609 kB / 0.7637 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.6307, allocations: 1.677 MB / 0.7653 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/0.6307, allocations: 10.28 kB / 0.7653 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.6314, allocations: 160.7 kB / 0.7655 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.6317, allocations: 84.8 kB / 0.7656 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/0.6318, allocations: 40.66 kB / 0.7656 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.6342, allocations: 2.812 MB / 0.7684 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6342, allocations: 2.844 kB / 0.7684 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.6374, allocations: 1.427 MB / 0.7698 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.6378, allocations: 161.5 kB / 0.7699 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.638, allocations: 21.27 kB / 0.7699 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.6386, allocations: 57.47 kB / 0.77 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.6388, allocations: 114.5 kB / 0.7701 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.783e-05/0.6389, allocations: 72.86 kB / 0.7702 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004876/0.6394, allocations: 436.1 kB / 0.7706 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6394, allocations: 0 / 0.7706 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001003/0.6404, allocations: 338 kB / 0.7709 GB, free: 6.828 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 (63): * Single equations (assignments): 53 * 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.0006641/0.6411, allocations: 391.6 kB / 0.7713 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.6436, allocations: 1.206 MB / 0.7724 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6436, allocations: 0 / 0.7724 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.645, allocations: 0.7493 MB / 0.7732 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.6462, allocations: 237.5 kB / 0.7734 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.6497, allocations: 1.829 MB / 0.7752 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.65, allocations: 377.8 kB / 0.7756 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001458/0.6515, allocations: 0.9805 MB / 0.7765 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/0.652, allocations: 179.5 kB / 0.7767 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.652, allocations: 0 / 0.7767 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.02982/0.6818, allocations: 17.75 MB / 0.794 GB, free: 7.051 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (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 -gbnls=internal -gberr=embedded -gbm=esdirk4 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 6.181854203809053] Failed to read output from testmodel.py, exit status != 0: 0.6901145409792662 0.705278636 0.110936142 Calling exit ...