Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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 (/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 109.8 kB / 16.42 MB, free: 6.512 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.001633/0.001633, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6539/0.6539, allocations: 91.18 MB / 382.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 83.88 kB / 0.5175 GB, free: 4.109 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2666, allocations: 67.68 MB / 0.5836 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4595/0.7261, allocations: 214.3 MB / 0.7929 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01515/0.7413, allocations: 17.38 MB / 0.8099 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.7424, allocations: 48.97 kB / 0.8099 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.7439, allocations: 0.6142 MB / 0.8105 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.7479, allocations: 1.743 MB / 0.8122 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.7516, allocations: 1.677 MB / 0.8139 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.7533, allocations: 1.658 MB / 0.8155 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.7537, allocations: 297.7 kB / 0.8158 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.7557, allocations: 1.185 MB / 0.8169 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.7565, allocations: 0.6257 MB / 0.8175 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.7567, allocations: 93.59 kB / 0.8176 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005766/0.7625, allocations: 3.43 MB / 0.821 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.7628, allocations: 252.9 kB / 0.8212 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007342/0.7636, allocations: 0.6075 MB / 0.8218 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.7675, allocations: 2.341 MB / 0.8241 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7675, allocations: 1.438 kB / 0.8241 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7675, allocations: 0 / 0.8241 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.605e-05/0.7676, allocations: 0 / 0.8241 GB, free: 13.66 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003663/0.7712, allocations: 1.815 MB / 0.8259 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.7713, allocations: 7.938 kB / 0.8259 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.7734, allocations: 283.3 kB / 0.8261 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.775, allocations: 0.884 MB / 0.827 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.7752, allocations: 199.8 kB / 0.8272 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.7754, allocations: 100.9 kB / 0.8273 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.7773, allocations: 1.004 MB / 0.8283 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.7774, allocations: 3.812 kB / 0.8283 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.301e-05/0.7775, allocations: 35.62 kB / 0.8283 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.7775, allocations: 21.84 kB / 0.8283 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.7792, allocations: 0.784 MB / 0.8291 GB, free: 10.36 MB / 0.5919 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.005251/0.7844, allocations: 4.092 MB / 0.8331 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.7864, allocations: 0.8523 MB / 0.8339 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008252/0.7873, allocations: 428.7 kB / 0.8343 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008539/0.7881, allocations: 1.314 MB / 0.8356 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.7882, allocations: 39.22 kB / 0.8357 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.234e-06/0.7882, allocations: 4 kB / 0.8357 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005507/0.7937, allocations: 1.917 MB / 0.8375 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.7937, allocations: 60.06 kB / 0.8376 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/0.7947, allocations: 0.7693 MB / 0.8383 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/0.7947, allocations: 33.7 kB / 0.8384 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.7951, allocations: 0.4917 MB / 0.8389 GB, free: 304 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.7953, allocations: 277.4 kB / 0.8391 GB, free: 28 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.7956, allocations: 150.5 kB / 0.8393 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7957, allocations: 341.9 kB / 0.8396 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007345/0.7964, allocations: 305.8 kB / 0.8399 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/0.7972, allocations: 391.1 kB / 0.8403 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.7988, allocations: 0.6913 MB / 0.8409 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7988, allocations: 0 / 0.8409 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003268/0.8021, allocations: 1.228 MB / 0.8421 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8021, allocations: 9.094 kB / 0.8421 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8021, allocations: 64 / 0.8421 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008694/0.803, allocations: 250.3 kB / 0.8424 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/0.804, allocations: 207.3 kB / 0.8426 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/0.8102, allocations: 5.218 MB / 0.8477 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/0.8109, allocations: 87.48 kB / 0.8477 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.8111, allocations: 55.97 kB / 0.8478 GB, free: 6.684 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004005/0.8115, allocations: 233.4 kB / 0.848 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.8117, allocations: 102.7 kB / 0.8481 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/0.8159, allocations: 1.827 MB / 0.8499 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.816, allocations: 7.984 kB / 0.8499 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.816, allocations: 0 / 0.8499 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.8164, allocations: 247.5 kB / 0.8502 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.8166, allocations: 23.94 kB / 0.8502 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.8172, allocations: 43.95 kB / 0.8502 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.8174, allocations: 76.89 kB / 0.8503 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003087/0.8205, allocations: 1.143 MB / 0.8514 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002642/0.8231, allocations: 1.476 MB / 0.8528 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007221/0.8239, allocations: 379.8 kB / 0.8532 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006594/0.8245, allocations: 0.5317 MB / 0.8537 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of Backend: time 4.91e-07/0.8245, allocations: 0 / 0.8537 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004307/0.8289, allocations: 1.821 MB / 0.8555 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003733/0.8326, allocations: 2.681 MB / 0.8581 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.03833/0.871, allocations: 25.45 MB / 0.883 GB, free: 2.797 MB / 0.6387 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1)