Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001778/0.001778, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6601/0.6601, allocations: 91.19 MB / 382.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 83.88 kB / 0.5175 GB, free: 4.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2945, allocations: 67.68 MB / 0.5836 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4801/0.7746, allocations: 235 MB / 0.8131 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01937/0.794, allocations: 22.26 MB / 0.8348 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.7953, allocations: 61.22 kB / 0.8349 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.7971, allocations: 0.8 MB / 0.8357 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.8017, allocations: 2.051 MB / 0.8377 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.8067, allocations: 2.18 MB / 0.8398 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.8089, allocations: 2.19 MB / 0.8419 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.8095, allocations: 418 kB / 0.8423 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.8118, allocations: 1.394 MB / 0.8437 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008808/0.8127, allocations: 0.8346 MB / 0.8445 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.8129, allocations: 140 kB / 0.8446 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0078/0.8207, allocations: 4.088 MB / 0.8486 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.821, allocations: 349 kB / 0.849 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008767/0.8219, allocations: 0.8085 MB / 0.8497 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005768/0.8277, allocations: 3.013 MB / 0.8527 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8277, allocations: 0 / 0.8527 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8277, allocations: 0 / 0.8527 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.8278, allocations: 0 / 0.8527 GB, free: 0.6016 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004381/0.8321, allocations: 2.364 MB / 0.855 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.8322, allocations: 8.031 kB / 0.855 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.8353, allocations: 422.5 kB / 0.8554 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.8372, allocations: 1.094 MB / 0.8565 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.8376, allocations: 348.1 kB / 0.8568 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.8378, allocations: 127.9 kB / 0.8569 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.8407, allocations: 1.451 MB / 0.8583 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.8407, allocations: 4 kB / 0.8584 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.8409, allocations: 52 kB / 0.8584 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.8409, allocations: 28 kB / 0.8584 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.8437, allocations: 1.189 MB / 0.8596 GB, free: 9.422 MB / 0.6075 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.007106/0.8508, allocations: 5.437 MB / 0.8649 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.8537, allocations: 1.322 MB / 0.8662 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.8553, allocations: 0.7162 MB / 0.8669 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.8564, allocations: 1.788 MB / 0.8686 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.8564, allocations: 43.56 kB / 0.8687 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 3.186e-06/0.8565, allocations: 0 / 0.8687 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.008649/0.8651, allocations: 3.049 MB / 0.8717 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.8652, allocations: 64.41 kB / 0.8717 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.8662, allocations: 0.8755 MB / 0.8726 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.804e-05/0.8663, allocations: 45.7 kB / 0.8726 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/0.8667, allocations: 0.6161 MB / 0.8732 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.867, allocations: 416.8 kB / 0.8736 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.8674, allocations: 206.9 kB / 0.8738 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8675, allocations: 345.9 kB / 0.8741 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.8687, allocations: 498.3 kB / 0.8746 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.87, allocations: 0.5801 MB / 0.8752 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.8725, allocations: 1.056 MB / 0.8762 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.8725, allocations: 0 / 0.8762 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005229/0.8777, allocations: 1.93 MB / 0.8781 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8777, allocations: 4 kB / 0.8781 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.8778, allocations: 7.984 kB / 0.8781 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.8791, allocations: 415 kB / 0.8785 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.8806, allocations: 300.5 kB / 0.8788 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009201/0.8898, allocations: 7.425 MB / 0.886 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009319/0.8907, allocations: 131.3 kB / 0.8862 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.8909, allocations: 71.97 kB / 0.8862 GB, free: 12.73 MB / 0.6387 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005073/0.8914, allocations: 270 kB / 0.8865 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.8917, allocations: 131.2 kB / 0.8866 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006484/0.8982, allocations: 2.724 MB / 0.8893 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.8982, allocations: 3.984 kB / 0.8893 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8982, allocations: 4 kB / 0.8893 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.8987, allocations: 319.8 kB / 0.8896 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.8989, allocations: 31.94 kB / 0.8896 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008813/0.8998, allocations: 75.92 kB / 0.8897 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.9, allocations: 100.8 kB / 0.8898 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004517/0.9045, allocations: 1.68 MB / 0.8914 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004088/0.9086, allocations: 2.116 MB / 0.8935 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001162/0.9098, allocations: 0.5777 MB / 0.8941 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007907/0.9106, allocations: 0.5986 MB / 0.8946 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of Backend: time 5.51e-07/0.9106, allocations: 3 kB / 0.8947 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005982/0.9166, allocations: 2.525 MB / 0.8971 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of SimCode: time 0.004508/0.9211, allocations: 3.346 MB / 0.9004 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.04922/0.9704, allocations: 33.26 MB / 0.9329 GB, free: 13.22 MB / 0.6856 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1)