Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008594/0.008594, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.001274/0.001273, allocations: 94.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8786/0.8786, allocations: 90.59 MB / 408.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003646, allocations: 12 kB / 485.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4932/0.4936, allocations: 66.27 MB / 0.5386 GB, free: 45.46 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.725, allocations: 455 MB / 0.9829 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/1.725, allocations: 87.45 kB / 0.983 GB, free: 158.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.3995/2.125, allocations: 173.1 MB / 1.152 GB, free: 54.67 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.436e-06/2.125, allocations: 0 / 1.152 GB, free: 54.67 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001245/2.125, allocations: 31.84 kB / 1.152 GB, free: 54.64 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005618/2.131, allocations: 1.539 MB / 1.154 GB, free: 53.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/2.131, allocations: 12.03 kB / 1.154 GB, free: 53.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/2.132, allocations: 154.5 kB / 1.154 GB, free: 52.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/2.134, allocations: 0.5812 MB / 1.154 GB, free: 52.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/2.134, allocations: 66 kB / 1.154 GB, free: 52.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/2.134, allocations: 103.8 kB / 1.154 GB, free: 52.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/2.137, allocations: 1.063 MB / 1.156 GB, free: 51.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/2.137, allocations: 0 / 1.156 GB, free: 51.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/2.137, allocations: 36 kB / 1.156 GB, free: 51.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/2.137, allocations: 28 kB / 1.156 GB, free: 50.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/2.139, allocations: 1.032 MB / 1.157 GB, free: 49.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007277/2.147, allocations: 5.15 MB / 1.162 GB, free: 44.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/2.149, allocations: 1.183 MB / 1.163 GB, free: 43.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004085/2.153, allocations: 2.747 MB / 1.165 GB, free: 40.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/2.153, allocations: 47.48 kB / 1.166 GB, free: 40.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 4.038e-06/2.153, allocations: 0 / 1.166 GB, free: 40.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=129): time 0.01032/2.164, allocations: 5.063 MB / 1.17 GB, free: 34.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/2.164, allocations: 94.14 kB / 1.171 GB, free: 34.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/2.165, allocations: 471.4 kB / 1.171 GB, free: 34.12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/2.165, allocations: 45.7 kB / 1.171 GB, free: 34.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/2.165, allocations: 396.5 kB / 1.171 GB, free: 33.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/2.165, allocations: 443.6 kB / 1.172 GB, free: 33.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/2.165, allocations: 24 kB / 1.172 GB, free: 33.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001359/2.166, allocations: 398.7 kB / 1.172 GB, free: 32.83 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/2.167, allocations: 470.3 kB / 1.173 GB, free: 32.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/2.168, allocations: 0.6005 MB / 1.173 GB, free: 31.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/2.169, allocations: 0.5207 MB / 1.174 GB, free: 31.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/2.169, allocations: 11.95 kB / 1.174 GB, free: 31.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004116/2.173, allocations: 1.558 MB / 1.175 GB, free: 29.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/2.173, allocations: 8 kB / 1.175 GB, free: 29.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/2.174, allocations: 4.406 kB / 1.175 GB, free: 29.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/2.175, allocations: 306.5 kB / 1.176 GB, free: 29.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/2.176, allocations: 243.7 kB / 1.176 GB, free: 29.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008747/2.185, allocations: 11.29 MB / 1.187 GB, free: 16.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/2.187, allocations: 88.22 kB / 1.187 GB, free: 16.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/2.187, allocations: 51.98 kB / 1.187 GB, free: 16.54 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (127): * Single equations (assignments): 116 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007358/2.188, allocations: 245.6 kB / 1.187 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/2.188, allocations: 90.88 kB / 1.187 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/2.193, allocations: 1.742 MB / 1.189 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/2.193, allocations: 16 kB / 1.189 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/2.193, allocations: 4 kB / 1.189 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/2.193, allocations: 7.969 kB / 1.189 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004613/2.197, allocations: 2.982 MB / 1.192 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/2.197, allocations: 128 / 1.192 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009139/2.198, allocations: 239.7 kB / 1.192 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009404/2.199, allocations: 310.5 kB / 1.192 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.029e-05/2.199, allocations: 43.97 kB / 1.193 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4313/2.631, allocations: 11.28 MB / 1.204 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/2.631, allocations: 6.562 kB / 1.204 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004981/2.636, allocations: 2.443 MB / 1.206 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/2.636, allocations: 159.8 kB / 1.206 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/2.636, allocations: 27.41 kB / 1.206 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008977/2.637, allocations: 101.3 kB / 1.206 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/2.638, allocations: 109.2 kB / 1.206 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/2.638, allocations: 56.39 kB / 1.206 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005211/2.638, allocations: 373.5 kB / 1.207 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.638, allocations: 0 / 1.207 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001991/2.64, allocations: 431 kB / 1.207 GB, free: 123.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,boundary_rear.fore.m_flow,boundary_fore.rear.m_flow,reservoir2.M,reservoir2.U_med,source1.outlet.m_flow,sink1.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 (114): * Single equations (assignments): 103 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007667/2.641, allocations: 393.2 kB / 1.208 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003623/2.645, allocations: 2.238 MB / 1.21 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/2.645, allocations: 0 / 1.21 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/2.647, allocations: 1.712 MB / 1.211 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/2.648, allocations: 258 kB / 1.212 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/2.653, allocations: 2.939 MB / 1.214 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/2.653, allocations: 1.063 MB / 1.216 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008694/2.654, allocations: 199.1 kB / 1.216 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/2.654, allocations: 96.75 kB / 1.216 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.323e-06/2.654, allocations: 0 / 1.216 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.04148/2.696, allocations: 20.16 MB / 1.235 GB, free: 119.4 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1)