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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008894/0.008894, allocations: 171.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 239.1 MB, free: 1.75 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.001316/0.001316, allocations: 95.06 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01393/0.01393, allocations: 1.559 MB / 342.9 MB, free: 9.238 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.9371/0.9371, allocations: 90.31 MB / 484.7 MB, free: 21.87 MB / 330.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 0.0007958/0.0007962, allocations: 13.31 kB / 0.5526 GB, free: 30.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2292, allocations: 69.37 MB / 0.6203 GB, free: 5.602 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.505/1.734, allocations: 439.5 MB / 1.049 GB, free: 102 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.735, allocations: 82.59 kB / 1.05 GB, free: 102 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.704/3.438, allocations: 358.6 MB / 1.4 GB, free: 85.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/3.438, allocations: 2.562 kB / 1.4 GB, free: 85.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000137/3.438, allocations: 48.59 kB / 1.4 GB, free: 85.23 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.006898/3.445, allocations: 2.167 MB / 1.402 GB, free: 84.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.775e-05/3.445, allocations: 11.58 kB / 1.402 GB, free: 84.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/3.447, allocations: 223.8 kB / 1.402 GB, free: 84.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/3.449, allocations: 0.88 MB / 1.403 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/3.449, allocations: 111.9 kB / 1.403 GB, free: 84.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/3.45, allocations: 156.9 kB / 1.403 GB, free: 84.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/3.453, allocations: 1.616 MB / 1.405 GB, free: 83.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/3.453, allocations: 2.812 kB / 1.405 GB, free: 83.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/3.454, allocations: 61.02 kB / 1.405 GB, free: 83.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/3.454, allocations: 36.92 kB / 1.405 GB, free: 83.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/3.457, allocations: 1.507 MB / 1.406 GB, free: 83.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/3.469, allocations: 7.155 MB / 1.413 GB, free: 80.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/3.474, allocations: 1.748 MB / 1.415 GB, free: 79.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006768/3.48, allocations: 4.32 MB / 1.419 GB, free: 77.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.433e-05/3.48, allocations: 62.38 kB / 1.419 GB, free: 77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=177): time 5.841e-06/3.48, allocations: 4.516 kB / 1.419 GB, free: 77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=177): time 0.009055/3.49, allocations: 3.694 MB / 1.423 GB, free: 75.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/3.49, allocations: 172.7 kB / 1.423 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/3.491, allocations: 0.7411 MB / 1.424 GB, free: 75.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002618/3.492, allocations: 61.73 kB / 1.424 GB, free: 75.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/3.492, allocations: 0.6144 MB / 1.425 GB, free: 75.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005713/3.493, allocations: 0.605 MB / 1.425 GB, free: 74.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/3.493, allocations: 34.16 kB / 1.425 GB, free: 74.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001512/3.493, allocations: 372.8 kB / 1.426 GB, free: 74.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/3.494, allocations: 0.5689 MB / 1.426 GB, free: 74.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/3.495, allocations: 0.8835 MB / 1.427 GB, free: 74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/3.497, allocations: 0.6848 MB / 1.428 GB, free: 73.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/3.497, allocations: 3.875 kB / 1.428 GB, free: 73.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004996/3.502, allocations: 1.971 MB / 1.43 GB, free: 73.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/3.502, allocations: 10.91 kB / 1.43 GB, free: 73.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/3.502, allocations: 13.59 kB / 1.43 GB, free: 73.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008403/3.503, allocations: 217.6 kB / 1.43 GB, free: 73.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/3.504, allocations: 383.8 kB / 1.43 GB, free: 73.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005502/3.51, allocations: 7.168 MB / 1.437 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/3.512, allocations: 185.5 kB / 1.437 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/3.513, allocations: 72.66 kB / 1.437 GB, free: 67.38 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 () * Number of clocked 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.001318/3.514, allocations: 326.9 kB / 1.438 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008054/3.515, allocations: 156.7 kB / 1.438 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005621/3.52, allocations: 2.27 MB / 1.44 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.052e-05/3.52, allocations: 20.94 kB / 1.44 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.368e-05/3.52, allocations: 3.906 kB / 1.44 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.004e-05/3.52, allocations: 14.28 kB / 1.44 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007775/3.528, allocations: 4.085 MB / 1.444 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/3.528, allocations: 3.719 kB / 1.444 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/3.529, allocations: 285.3 kB / 1.444 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/3.531, allocations: 453.9 kB / 1.445 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/3.532, allocations: 54.81 kB / 1.445 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007281/3.539, allocations: 9.464 MB / 1.454 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/3.539, allocations: 3.406 kB / 1.454 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007253/3.546, allocations: 3.318 MB / 1.457 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008248/3.547, allocations: 234.6 kB / 1.458 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005296/3.548, allocations: 43.41 kB / 1.458 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/3.549, allocations: 102.8 kB / 1.458 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003721/3.55, allocations: 132.5 kB / 1.458 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/3.55, allocations: 77.38 kB / 1.458 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001096/3.551, allocations: 0.5701 MB / 1.458 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.91e-07/3.551, allocations: 0 / 1.458 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004209/3.555, allocations: 0.8483 MB / 1.459 GB, free: 56.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,pCV1.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex1.m_flow_in,volumeFlex3.M,volumeFlex3.U_med,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.003365/3.559, allocations: 1.204 MB / 1.46 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005475/3.564, allocations: 2.299 MB / 1.463 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/3.564, allocations: 2.75 kB / 1.463 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003249/3.568, allocations: 1.655 MB / 1.464 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/3.571, allocations: 478.5 kB / 1.465 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/3.579, allocations: 4.212 MB / 1.469 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/3.58, allocations: 1.283 MB / 1.47 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002039/3.582, allocations: 295.6 kB / 1.47 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007073/3.583, allocations: 146.9 kB / 1.471 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/3.583, allocations: 3.094 kB / 1.471 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.06277/3.646, allocations: 36.02 MB / 1.506 GB, free: 50.1 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)