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.001783/0.001783, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0009315/0.0009315, allocations: 92.62 kB / 261.4 MB, free: 13.46 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.7923/0.7923, allocations: 90.36 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.16e-05/1.162e-05, allocations: 0 / 472.2 MB, free: 3.449 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3669, allocations: 66.25 MB / 0.5258 GB, free: 29.07 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.527, allocations: 454.2 MB / 0.9694 GB, free: 202.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.527, allocations: 87.95 kB / 0.9695 GB, free: 202.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.3117/1.839, allocations: 171.7 MB / 1.137 GB, free: 29.08 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.362e-06/1.839, allocations: 0 / 1.137 GB, free: 29.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001054/1.839, allocations: 31.98 kB / 1.137 GB, free: 29.05 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.004125/1.843, allocations: 1.434 MB / 1.139 GB, free: 27.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.843, allocations: 12.03 kB / 1.139 GB, free: 27.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008854/1.844, allocations: 158.5 kB / 1.139 GB, free: 27.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/1.845, allocations: 0.5918 MB / 1.139 GB, free: 26.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/1.845, allocations: 28 kB / 1.139 GB, free: 26.74 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.846, allocations: 63.94 kB / 1.139 GB, free: 26.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00153/1.847, allocations: 0.8903 MB / 1.14 GB, free: 25.79 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/1.849, allocations: 0.8832 MB / 1.141 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/1.849, allocations: 0 / 1.141 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/1.849, allocations: 4 kB / 1.141 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/1.849, allocations: 27.98 kB / 1.141 GB, free: 24.85 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006293/1.855, allocations: 4.996 MB / 1.146 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/1.857, allocations: 1.079 MB / 1.147 GB, free: 18.28 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/1.858, allocations: 466.1 kB / 1.148 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003354/1.861, allocations: 2.755 MB / 1.15 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.861, allocations: 47.5 kB / 1.15 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=115): time 3.095e-06/1.861, allocations: 0 / 1.15 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=129): time 0.009951/1.871, allocations: 3.627 MB / 1.154 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.871, allocations: 94.31 kB / 1.154 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/1.872, allocations: 406.5 kB / 1.154 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.159e-05/1.872, allocations: 25.7 kB / 1.154 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/1.872, allocations: 396.7 kB / 1.155 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/1.872, allocations: 429.5 kB / 1.155 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/1.872, allocations: 0 / 1.155 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.873, allocations: 402.7 kB / 1.155 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/1.873, allocations: 358.6 kB / 1.156 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006637/1.874, allocations: 0.4967 MB / 1.156 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/1.876, allocations: 0.5539 MB / 1.157 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/1.876, allocations: 7.953 kB / 1.157 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003364/1.879, allocations: 1.44 MB / 1.158 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/1.879, allocations: 4.406 kB / 1.158 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.879, allocations: 8 kB / 1.158 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009813/1.88, allocations: 290.6 kB / 1.159 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/1.881, allocations: 247.7 kB / 1.159 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3725/2.253, allocations: 10.77 MB / 1.169 GB, free: 129.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/2.255, allocations: 66.19 kB / 1.169 GB, free: 129.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/2.255, allocations: 45.52 kB / 1.169 GB, free: 129.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 () * 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.000402/2.255, allocations: 134 kB / 1.17 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/2.256, allocations: 91.69 kB / 1.17 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/2.26, allocations: 1.599 MB / 1.171 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/2.26, allocations: 16.97 kB / 1.171 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/2.26, allocations: 7.25 kB / 1.171 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/2.26, allocations: 4.641 kB / 1.171 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00634/2.267, allocations: 2.729 MB / 1.174 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/2.267, allocations: 1.406 kB / 1.174 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/2.268, allocations: 234.5 kB / 1.174 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/2.269, allocations: 307.3 kB / 1.174 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/2.269, allocations: 26.38 kB / 1.174 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007433/2.276, allocations: 10.76 MB / 1.185 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/2.276, allocations: 6.125 kB / 1.185 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/2.281, allocations: 2.227 MB / 1.187 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/2.281, allocations: 152.8 kB / 1.187 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/2.281, allocations: 13.61 kB / 1.187 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000943/2.282, allocations: 82.61 kB / 1.187 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/2.283, allocations: 111.5 kB / 1.187 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/2.283, allocations: 47.5 kB / 1.188 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000427/2.283, allocations: 310.6 kB / 1.188 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.41e-07/2.283, allocations: 0 / 1.188 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002108/2.285, allocations: 403.2 kB / 1.188 GB, free: 118.4 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 () * 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.0006953/2.286, allocations: 367.9 kB / 1.189 GB, free: 118.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002795/2.289, allocations: 1.967 MB / 1.19 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/2.289, allocations: 0 / 1.19 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/2.291, allocations: 1.544 MB / 1.192 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/2.293, allocations: 231.4 kB / 1.192 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/2.297, allocations: 1.876 MB / 1.194 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/2.298, allocations: 1.066 MB / 1.195 GB, free: 115.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001042/2.299, allocations: 189.2 kB / 1.195 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/2.299, allocations: 96.02 kB / 1.195 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.343e-06/2.299, allocations: 0 / 1.195 GB, free: 115.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.03917/2.338, allocations: 18.76 MB / 1.214 GB, free: 114.8 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)