Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.conf.json 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/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.728/0.728, allocations: 89.6 MB / 380.6 MB, free: 11.43 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003404, allocations: 8.781 kB / 459.9 MB, free: 24.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 68.83 MB / 0.5163 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5868/0.7377, allocations: 159.9 MB / 0.6725 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.7525, allocations: 12.31 MB / 0.6845 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.7537, allocations: 19.88 kB / 0.6845 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.7554, allocations: 438 kB / 0.6849 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.7599, allocations: 0.9464 MB / 0.6858 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.7637, allocations: 1.159 MB / 0.687 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001887/0.7656, allocations: 0.8156 MB / 0.6878 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.766, allocations: 208.7 kB / 0.688 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.7679, allocations: 0.8221 MB / 0.6888 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.7683, allocations: 378.2 kB / 0.6891 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.7684, allocations: 40 kB / 0.6892 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.7722, allocations: 1.506 MB / 0.6906 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.7724, allocations: 151.3 kB / 0.6908 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.7726, allocations: 181.3 kB / 0.6909 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.7745, allocations: 1.149 MB / 0.6921 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7745, allocations: 0 / 0.6921 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7745, allocations: 3.938 kB / 0.6921 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.7745, allocations: 0 / 0.6921 GB, free: 6.324 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002435/0.7769, allocations: 1.24 MB / 0.6933 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.777, allocations: 8.031 kB / 0.6933 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.7786, allocations: 218.6 kB / 0.6935 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/0.7795, allocations: 0.5102 MB / 0.694 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.7797, allocations: 184.8 kB / 0.6942 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.7799, allocations: 72 kB / 0.6942 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.7814, allocations: 0.8414 MB / 0.6951 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.7814, allocations: 3.938 kB / 0.6951 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.756e-05/0.7815, allocations: 32 kB / 0.6951 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.7815, allocations: 20 kB / 0.6951 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.783, allocations: 0.6676 MB / 0.6958 GB, free: 2.406 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/0.7869, allocations: 2.883 MB / 0.6986 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.7883, allocations: 0.6263 MB / 0.6992 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.7889, allocations: 0.7368 MB / 0.6999 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.7889, allocations: 47.08 kB / 0.7 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.514e-06/0.7889, allocations: 0 / 0.7 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.004906/0.7939, allocations: 1.868 MB / 0.7018 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.7939, allocations: 63.95 kB / 0.7018 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006837/0.7946, allocations: 0.4951 MB / 0.7023 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.7947, allocations: 41.64 kB / 0.7024 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.795, allocations: 352.3 kB / 0.7027 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.7951, allocations: 205 kB / 0.7029 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.7952, allocations: 12 kB / 0.7029 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.7954, allocations: 378.7 kB / 0.7033 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/0.796, allocations: 281 kB / 0.7035 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.7966, allocations: 292.8 kB / 0.7038 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.7973, allocations: 282.1 kB / 0.7041 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7973, allocations: 0 / 0.7041 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002833/0.8002, allocations: 1.121 MB / 0.7052 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.8002, allocations: 4 kB / 0.7052 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8002, allocations: 4 kB / 0.7052 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008707/0.8011, allocations: 258.4 kB / 0.7054 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.8018, allocations: 155.8 kB / 0.7056 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005677/0.8075, allocations: 4.993 MB / 0.7105 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.8082, allocations: 87.53 kB / 0.7106 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.878e-05/0.8083, allocations: 43.98 kB / 0.7106 GB, free: 2.297 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003375/0.8087, allocations: 189.7 kB / 0.7108 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.8088, allocations: 67.09 kB / 0.7108 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/0.8128, allocations: 1.675 MB / 0.7125 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.8128, allocations: 8 kB / 0.7125 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8128, allocations: 0 / 0.7125 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.8129, allocations: 3.984 kB / 0.7125 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004498/0.8174, allocations: 2.264 MB / 0.7147 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.8174, allocations: 3.938 kB / 0.7147 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.8182, allocations: 143.8 kB / 0.7148 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007738/0.819, allocations: 274.4 kB / 0.7151 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.819, allocations: 27.92 kB / 0.7151 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00568/0.8247, allocations: 4.999 MB / 0.72 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8248, allocations: 0 / 0.72 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/0.8284, allocations: 1.596 MB / 0.7216 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/0.8288, allocations: 208.1 kB / 0.7218 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.8289, allocations: 16.88 kB / 0.7218 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.8296, allocations: 59.95 kB / 0.7218 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.8297, allocations: 60.42 kB / 0.7219 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.8298, allocations: 35.98 kB / 0.7219 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000475/0.8303, allocations: 366.8 kB / 0.7223 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8303, allocations: 0 / 0.7223 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00117/0.8315, allocations: 363.2 kB / 0.7226 GB, free: 5.312 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009399/0.8324, allocations: 0.4937 MB / 0.7231 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002721/0.8351, allocations: 1.148 MB / 0.7242 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8352, allocations: 0 / 0.7242 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.8369, allocations: 0.8547 MB / 0.7251 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.8381, allocations: 171 kB / 0.7252 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.8417, allocations: 2.065 MB / 0.7272 GB, free: 484 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.8422, allocations: 0.9614 MB / 0.7282 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001411/0.8436, allocations: 0.5371 MB / 0.7287 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/0.844, allocations: 111.4 kB / 0.7288 GB, free: 14.85 MB / 0.545 GB Notification: Performance of SimCode: time 1.382e-06/0.844, allocations: 0 / 0.7288 GB, free: 14.85 MB / 0.545 GB Notification: Performance of Templates: time 0.02407/0.8681, allocations: 14.57 MB / 0.743 GB, free: 380 kB / 0.545 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1)