Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.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.Boundaries.Tests.Volumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_in|heatportVolume.M|heatportVolume.U_med|heatportVolume1.M|heatportVolume1.U_med|heatportVolume1.m_flow_in|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_out|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|sink5.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source7.outlet.m_flow|volume.M|volume.U_med|volume1.M|volume1.U_med|volumeMix.M|volumeMix.MXi.1.|volumeMix.MXi.2.|volumeMix.U_med|volumeMix.inlet.1..m_flow|volumeMix.inlet.2..m_flow|volumeMix.outlet.m_flow|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix3.M|volumeMix3.MXi.1.|volumeMix3.MXi.2.|volumeMix3.U_med|volumeMix3.inlet.1..m_flow|volumeMix3.inlet.2..m_flow|volumeMix3.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes") translateModel(ThermofluidStream.Boundaries.Tests.Volumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_in|heatportVolume.M|heatportVolume.U_med|heatportVolume1.M|heatportVolume1.U_med|heatportVolume1.m_flow_in|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_out|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|sink5.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source7.outlet.m_flow|volume.M|volume.U_med|volume1.M|volume1.U_med|volumeMix.M|volumeMix.MXi.1.|volumeMix.MXi.2.|volumeMix.U_med|volumeMix.inlet.1..m_flow|volumeMix.inlet.2..m_flow|volumeMix.outlet.m_flow|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix3.M|volumeMix3.MXi.1.|volumeMix3.MXi.2.|volumeMix3.U_med|volumeMix3.inlet.1..m_flow|volumeMix3.inlet.2..m_flow|volumeMix3.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001857/0.001857, allocations: 180.4 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8892/0.8892, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0007518/0.0007518, allocations: 88.36 kB / 261.1 MB, free: 13.56 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.4573/0.4573, allocations: 90.34 MB / 399.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.72e-06/5.74e-06, allocations: 4 kB / 471.7 MB, free: 3.828 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1993, allocations: 66.26 MB / 0.5253 GB, free: 28.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.431/1.63, allocations: 1.213 GB / 1.738 GB, free: 76.07 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/1.63, allocations: 83.45 kB / 1.738 GB, free: 76.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.101/5.732, allocations: 1.69 GB / 3.429 GB, free: 30.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001905/5.732, allocations: 120.4 kB / 3.429 GB, free: 30.45 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 995 * Number of variables: 995 Notification: Performance of Generate backend data structure: time 0.01213/5.744, allocations: 5.8 MB / 3.435 GB, free: 27.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/5.744, allocations: 16.97 kB / 3.435 GB, free: 27.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/5.759, allocations: 1.333 MB / 3.436 GB, free: 27.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/5.762, allocations: 2.092 MB / 3.438 GB, free: 26.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/5.762, allocations: 128 kB / 3.438 GB, free: 26.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/5.762, allocations: 243.5 kB / 3.438 GB, free: 25.83 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004696/5.767, allocations: 3.958 MB / 3.442 GB, free: 22.19 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005317/5.772, allocations: 4.392 MB / 3.446 GB, free: 17.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-05/5.772, allocations: 8 kB / 3.446 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003452/5.773, allocations: 7.906 kB / 3.446 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/5.773, allocations: 265.8 kB / 3.447 GB, free: 17.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02917/5.802, allocations: 22.69 MB / 3.469 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/5.805, allocations: 2.4 MB / 3.471 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/5.808, allocations: 2.207 MB / 3.473 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/5.82, allocations: 9.766 MB / 3.483 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/5.82, allocations: 106 kB / 3.483 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=437): time 5.741e-06/5.82, allocations: 0 / 3.483 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=437): time 0.009313/5.829, allocations: 4.787 MB / 3.488 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/5.829, allocations: 281.9 kB / 3.488 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/5.831, allocations: 1.363 MB / 3.489 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002682/5.831, allocations: 29.7 kB / 3.489 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005631/5.831, allocations: 1.076 MB / 3.49 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009256/5.832, allocations: 1.451 MB / 3.492 GB, free: 172 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/5.833, allocations: 7.938 kB / 3.492 GB, free: 164 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.2016/6.034, allocations: 470.3 kB / 3.492 GB, free: 107 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002738/6.037, allocations: 1.674 MB / 3.494 GB, free: 107 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/6.039, allocations: 2.281 MB / 3.496 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/6.043, allocations: 2.038 MB / 3.498 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/6.043, allocations: 7.406 kB / 3.498 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=552) (initialization): time 0.008444/6.052, allocations: 5.194 MB / 3.503 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/6.052, allocations: 5.25 kB / 3.503 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/6.052, allocations: 15.12 kB / 3.503 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/6.053, allocations: 0.5417 MB / 3.504 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/6.056, allocations: 0.8216 MB / 3.505 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/6.066, allocations: 23.19 MB / 3.527 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/6.069, allocations: 357.6 kB / 3.528 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/6.069, allocations: 236.3 kB / 3.528 GB, free: 84.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (488): * Single equations (assignments): 451 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000671/6.07, allocations: 192.8 kB / 3.528 GB, free: 84.65 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006122/6.071, allocations: 335.8 kB / 3.528 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/6.081, allocations: 5.737 MB / 3.534 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.022e-05/6.081, allocations: 63.47 kB / 3.534 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/6.081, allocations: 10.56 kB / 3.534 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-05/6.081, allocations: 25.66 kB / 3.534 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/6.096, allocations: 10.11 MB / 3.544 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/6.096, allocations: 6.938 kB / 3.544 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/6.098, allocations: 0.6759 MB / 3.545 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/6.101, allocations: 0.8991 MB / 3.545 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002904/6.101, allocations: 113.5 kB / 3.545 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/6.113, allocations: 29.28 MB / 3.574 GB, free: 55.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/6.114, allocations: 10.31 kB / 3.574 GB, free: 55.36 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01194/6.125, allocations: 8.833 MB / 3.583 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/6.126, allocations: 437.3 kB / 3.583 GB, free: 53.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005104/6.127, allocations: 30.45 kB / 3.583 GB, free: 53.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006257/6.133, allocations: 374 kB / 3.584 GB, free: 53.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004149/6.133, allocations: 281.3 kB / 3.584 GB, free: 53.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004054/6.134, allocations: 247.7 kB / 3.584 GB, free: 53.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001073/6.135, allocations: 0.9949 MB / 3.585 GB, free: 52.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007287/6.142, allocations: 3.241 MB / 3.588 GB, free: 52.91 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 48 (source.outlet.m_flow,sink.inlet.m_flow,flexVolume1.M,flexVolume1.U_med,flexVolume1.m_flow_in,volume.M,volume.U_med,heatportVolume.M,heatportVolume.U_med,heatportVolume.m_flow_in,heatportVolume.m_flow_out,heatportVolume3.M,heatportVolume3.U_med,volumeMix2.M,volumeMix2.MXi[1],volumeMix2.MXi[2],volumeMix2.U_med,volumeMix.M,volumeMix.MXi[1],volumeMix.MXi[2],volumeMix.U_med,source2.outlet.m_flow,source3.outlet.m_flow,sink2.inlet.m_flow,volumeMix1.M,volumeMix1.MXi[1],volumeMix1.MXi[2],volumeMix1.U_med,source4.outlet.m_flow,source5.outlet.m_flow,sink3.inlet.m_flow,heatportVolume1.M,heatportVolume1.U_med,source6.outlet.m_flow,heatportVolume2.M,heatportVolume2.U_med,sink4.inlet.m_flow,volume1.M,volume1.U_med,volume1.m_flow_in,volume1.m_flow_out,volumeMix3.M,volumeMix3.MXi[1],volumeMix3.MXi[2],volumeMix3.U_med,source8.outlet.m_flow,source9.outlet.m_flow,sink6.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (374): * Single equations (assignments): 326 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 29 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 11 {2 3,1 2,1 2,1 2,1 1,1 1,1 1,1 2,1 2,1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008675/6.151, allocations: 6.289 MB / 3.594 GB, free: 51.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007608/6.158, allocations: 7.033 MB / 3.601 GB, free: 49.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/6.159, allocations: 6.938 kB / 3.601 GB, free: 49.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005621/6.164, allocations: 5.042 MB / 3.606 GB, free: 47.22 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00473/6.169, allocations: 1.063 MB / 3.607 GB, free: 47.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/6.182, allocations: 8.974 MB / 3.616 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/6.184, allocations: 2.798 MB / 3.619 GB, free: 44.78 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/6.184, allocations: 1.562 kB / 3.619 GB, free: 44.78 MB / 0.6823 GB Notification: Performance of Templates: time 0.1405/6.325, allocations: 123.3 MB / 3.739 GB, free: 27.45 MB / 0.6823 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.pipe 2>&1)