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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.0008787/0.0008789, allocations: 172.1 kB / 16.12 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.3 MB, free: 9.039 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.0008411/0.0008412, allocations: 94.3 kB / 270.6 MB, free: 8.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.6557/0.6557, allocations: 89.61 MB / 408.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003295, allocations: 12.22 kB / 485.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2843, allocations: 66.01 MB / 0.5383 GB, free: 34.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8969/1.181, allocations: 454.9 MB / 0.9825 GB, free: 173.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.182, allocations: 91.94 kB / 0.9826 GB, free: 173 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5676/1.749, allocations: 172.4 MB / 1.151 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.515e-06/1.749, allocations: 0 / 1.151 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.966e-05/1.749, allocations: 28.42 kB / 1.151 GB, free: 146.4 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.003639/1.753, allocations: 1.526 MB / 1.152 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.753, allocations: 10.59 kB / 1.153 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005964/1.754, allocations: 156.9 kB / 1.153 GB, free: 145.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.755, allocations: 0.61 MB / 1.153 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/1.755, allocations: 75.47 kB / 1.153 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/1.755, allocations: 97.27 kB / 1.153 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/1.757, allocations: 1.063 MB / 1.154 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/1.757, allocations: 3.484 kB / 1.154 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/1.757, allocations: 42.06 kB / 1.154 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/1.757, allocations: 22.23 kB / 1.155 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/1.759, allocations: 1.031 MB / 1.156 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/1.764, allocations: 5.083 MB / 1.16 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/1.766, allocations: 1.175 MB / 1.162 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/1.768, allocations: 0.5282 MB / 1.162 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003371/1.771, allocations: 2.731 MB / 1.165 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.771, allocations: 42.5 kB / 1.165 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 2.705e-06/1.771, allocations: 3.688 kB / 1.165 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=129): time 0.01043/1.781, allocations: 4.817 MB / 1.17 GB, free: 139.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/1.782, allocations: 96.73 kB / 1.17 GB, free: 139 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/1.782, allocations: 0.5264 MB / 1.17 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/1.782, allocations: 48.33 kB / 1.17 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/1.783, allocations: 389.5 kB / 1.171 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/1.783, allocations: 451.4 kB / 1.171 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/1.783, allocations: 23.09 kB / 1.171 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.783, allocations: 399.8 kB / 1.171 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009389/1.784, allocations: 463.6 kB / 1.172 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/1.785, allocations: 0.6086 MB / 1.172 GB, free: 137.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/1.787, allocations: 1.13 MB / 1.174 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.787, allocations: 1.094 kB / 1.174 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003308/1.79, allocations: 1.571 MB / 1.175 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.79, allocations: 6.844 kB / 1.175 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.79, allocations: 2.75 kB / 1.175 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009891/1.791, allocations: 306.1 kB / 1.175 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/1.792, allocations: 243.9 kB / 1.176 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00667/1.799, allocations: 11.21 MB / 1.187 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/1.8, allocations: 92.64 kB / 1.187 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/1.8, allocations: 54.52 kB / 1.187 GB, free: 127.4 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.0005995/1.801, allocations: 245.8 kB / 1.187 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/1.801, allocations: 87.81 kB / 1.187 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/1.805, allocations: 1.734 MB / 1.189 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.805, allocations: 22.64 kB / 1.189 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/1.805, allocations: 6.344 kB / 1.189 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.805, allocations: 7.078 kB / 1.189 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/1.81, allocations: 2.946 MB / 1.192 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.81, allocations: 3.281 kB / 1.192 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008514/1.811, allocations: 239.5 kB / 1.192 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009466/1.812, allocations: 320.1 kB / 1.192 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.812, allocations: 42.34 kB / 1.192 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006626/1.819, allocations: 11.21 MB / 1.203 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.819, allocations: 2.812 kB / 1.203 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/1.823, allocations: 2.379 MB / 1.205 GB, free: 116 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/1.823, allocations: 175.3 kB / 1.206 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/1.823, allocations: 29.31 kB / 1.206 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009759/1.824, allocations: 97.64 kB / 1.206 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/1.825, allocations: 108.4 kB / 1.206 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.825, allocations: 51.98 kB / 1.206 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004712/1.825, allocations: 370.1 kB / 1.206 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.825, allocations: 0 / 1.206 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002011/1.827, allocations: 431.2 kB / 1.207 GB, free: 115.7 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.0007191/1.828, allocations: 391.1 kB / 1.207 GB, free: 115.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003245/1.831, allocations: 2.248 MB / 1.209 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.831, allocations: 0 / 1.209 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/1.833, allocations: 1.704 MB / 1.211 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/1.835, allocations: 280.8 kB / 1.211 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/1.84, allocations: 2.959 MB / 1.214 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/1.84, allocations: 1.046 MB / 1.215 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008861/1.841, allocations: 187.2 kB / 1.215 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/1.841, allocations: 100.2 kB / 1.215 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/1.841, allocations: 0 / 1.215 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.03055/1.872, allocations: 20.5 MB / 1.235 GB, free: 111 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)