Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) Running command: translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") [: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 4.0.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 170.7 kB / 7.447 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.05/1.05, allocations: 221.4 MB / 229.3 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009253, allocations: 91.36 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.007133/0.007133, allocations: 1.572 MB / 332.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.4034/0.4034, allocations: 90.04 MB / 473.6 MB, free: 7.242 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.484e-06, allocations: 4 kB / 0.5369 GB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 69.35 MB / 0.6046 GB, free: 8.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7511/0.8634, allocations: 438.7 MB / 1.033 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.8637, allocations: 86.12 kB / 1.033 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092/1.956, allocations: 357.7 MB / 1.382 GB, free: 77.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001574/1.956, allocations: 45.81 kB / 1.382 GB, free: 77.59 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.005121/1.961, allocations: 2.044 MB / 1.384 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/1.961, allocations: 10.44 kB / 1.384 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/1.962, allocations: 216.7 kB / 1.385 GB, free: 76.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.964, allocations: 0.8852 MB / 1.385 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/1.964, allocations: 48.92 kB / 1.386 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/1.964, allocations: 98.7 kB / 1.386 GB, free: 76.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001756/1.966, allocations: 1.323 MB / 1.387 GB, free: 76.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/1.968, allocations: 1.352 MB / 1.388 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/1.968, allocations: 3.906 kB / 1.388 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.968, allocations: 0 / 1.388 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/1.968, allocations: 41.84 kB / 1.388 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006824/1.975, allocations: 7.199 MB / 1.395 GB, free: 71.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/1.976, allocations: 1.166 MB / 1.396 GB, free: 71.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007609/1.977, allocations: 0.7143 MB / 1.397 GB, free: 71.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/1.978, allocations: 1.44 MB / 1.399 GB, free: 70.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/1.978, allocations: 58.34 kB / 1.399 GB, free: 70.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=177): time 3.466e-06/1.978, allocations: 0 / 1.399 GB, free: 70.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=177): time 0.00374/1.981, allocations: 1.696 MB / 1.4 GB, free: 69.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/1.981, allocations: 180.3 kB / 1.4 GB, free: 69.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/1.982, allocations: 0.6393 MB / 1.401 GB, free: 69.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-05/1.982, allocations: 29.61 kB / 1.401 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/1.982, allocations: 456.4 kB / 1.402 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/1.983, allocations: 0.5846 MB / 1.402 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/1.983, allocations: 0 / 1.402 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.983, allocations: 372.7 kB / 1.402 GB, free: 68.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/1.984, allocations: 0.4886 MB / 1.403 GB, free: 68.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008168/1.984, allocations: 0.7922 MB / 1.404 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/1.986, allocations: 0.6847 MB / 1.404 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.986, allocations: 0 / 1.404 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003251/1.99, allocations: 1.816 MB / 1.406 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.99, allocations: 6.875 kB / 1.406 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.99, allocations: 7.625 kB / 1.406 GB, free: 67.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005661/1.99, allocations: 205.5 kB / 1.406 GB, free: 67.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.991, allocations: 386.5 kB / 1.407 GB, free: 67.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/1.995, allocations: 6.755 MB / 1.413 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.996, allocations: 137.6 kB / 1.413 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/1.996, allocations: 77.62 kB / 1.414 GB, free: 61.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002395/1.997, allocations: 146.4 kB / 1.414 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/1.997, allocations: 149.3 kB / 1.414 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/2.001, allocations: 2.104 MB / 1.416 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/2.001, allocations: 19.06 kB / 1.416 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/2.001, allocations: 10.88 kB / 1.416 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/2.001, allocations: 14.86 kB / 1.416 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005514/2.006, allocations: 3.776 MB / 1.42 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/2.007, allocations: 3.344 kB / 1.42 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/2.008, allocations: 283.6 kB / 1.42 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/2.009, allocations: 424.8 kB / 1.42 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/2.009, allocations: 41.88 kB / 1.42 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004586/2.013, allocations: 9.061 MB / 1.429 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.014, allocations: 11.5 kB / 1.429 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004453/2.018, allocations: 3.135 MB / 1.432 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/2.018, allocations: 235 kB / 1.432 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/2.018, allocations: 7.812 kB / 1.432 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/2.02, allocations: 78.73 kB / 1.433 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/2.02, allocations: 108 kB / 1.433 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/2.02, allocations: 74.34 kB / 1.433 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004584/2.02, allocations: 489.6 kB / 1.433 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001959/2.022, allocations: 0.7937 MB / 1.434 GB, free: 50.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (flowResistance4.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex1.m_flow_in,volumeFlex3.M,volumeFlex3.U_med,volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,pCV1.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001432/2.024, allocations: 1.205 MB / 1.435 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002283/2.026, allocations: 2.043 MB / 1.437 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.026, allocations: 0 / 1.437 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/2.028, allocations: 1.49 MB / 1.439 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/2.03, allocations: 398.6 kB / 1.439 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/2.034, allocations: 2.772 MB / 1.442 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/2.035, allocations: 1.43 MB / 1.443 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of SimCode: time 4.6e-07/2.035, allocations: 0 / 1.443 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.04655/2.082, allocations: 34.02 MB / 1.476 GB, free: 26.82 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1)