Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001059, allocations: 109.1 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.001103/0.001104, 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6849/0.6849, allocations: 91.19 MB / 382.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 79.88 kB / 0.5175 GB, free: 4.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2916, allocations: 67.68 MB / 0.5836 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4962/0.7878, allocations: 214.3 MB / 0.7929 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.8033, allocations: 17.39 MB / 0.8099 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.8047, allocations: 42.97 kB / 0.8099 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.8066, allocations: 0.6268 MB / 0.8105 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.8116, allocations: 1.739 MB / 0.8122 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004341/0.8159, allocations: 1.683 MB / 0.8139 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002377/0.8183, allocations: 1.656 MB / 0.8155 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005521/0.8189, allocations: 290.4 kB / 0.8158 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.8212, allocations: 1.195 MB / 0.8169 GB, free: 120 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.8224, allocations: 0.6292 MB / 0.8176 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.8227, allocations: 95.47 kB / 0.8176 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006897/0.8296, allocations: 3.427 MB / 0.821 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004246/0.8301, allocations: 245.5 kB / 0.8212 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.8311, allocations: 0.611 MB / 0.8218 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.8363, allocations: 2.349 MB / 0.8241 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8363, allocations: 0 / 0.8241 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8363, allocations: 0 / 0.8241 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.651e-05/0.8364, allocations: 0 / 0.8241 GB, free: 13.6 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.004273/0.8407, allocations: 1.81 MB / 0.8259 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.8407, allocations: 20.62 kB / 0.8259 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.843, allocations: 285.1 kB / 0.8262 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.8448, allocations: 0.8772 MB / 0.827 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.845, allocations: 199.6 kB / 0.8272 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.8452, allocations: 97 kB / 0.8273 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.8473, allocations: 1.01 MB / 0.8283 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.8473, allocations: 0 / 0.8283 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.139e-05/0.8474, allocations: 36.41 kB / 0.8283 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.8474, allocations: 27.09 kB / 0.8284 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.8492, allocations: 0.7857 MB / 0.8291 GB, free: 10.29 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.005597/0.8548, allocations: 4.106 MB / 0.8331 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.8569, allocations: 0.8531 MB / 0.834 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000848/0.8578, allocations: 436.3 kB / 0.8344 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009211/0.8587, allocations: 1.303 MB / 0.8357 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.8587, allocations: 41.75 kB / 0.8357 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.986e-06/0.8587, allocations: 0 / 0.8357 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005734/0.8645, allocations: 1.93 MB / 0.8376 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.8645, allocations: 64.06 kB / 0.8376 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.8659, allocations: 0.768 MB / 0.8384 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.866, allocations: 41.7 kB / 0.8384 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.8664, allocations: 0.4884 MB / 0.8389 GB, free: 140 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.8667, allocations: 274.5 kB / 0.8392 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.867, allocations: 158.5 kB / 0.8393 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8671, allocations: 341.9 kB / 0.8396 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008723/0.868, allocations: 313.8 kB / 0.8399 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.8689, allocations: 395 kB / 0.8403 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.8705, allocations: 0.6951 MB / 0.841 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8705, allocations: 0 / 0.841 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003509/0.874, allocations: 1.234 MB / 0.8422 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.8741, allocations: 4 kB / 0.8422 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8741, allocations: 4 kB / 0.8422 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009091/0.875, allocations: 252.9 kB / 0.8425 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.876, allocations: 207.5 kB / 0.8427 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.8826, allocations: 5.218 MB / 0.8477 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.8835, allocations: 87.19 kB / 0.8478 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/0.8837, allocations: 59.98 kB / 0.8479 GB, free: 6.492 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.0005454/0.8843, allocations: 225.2 kB / 0.8481 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.8846, allocations: 106.7 kB / 0.8482 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/0.889, allocations: 1.826 MB / 0.85 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.889, allocations: 7.984 kB / 0.85 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.889, allocations: 0 / 0.85 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.8895, allocations: 251.5 kB / 0.8502 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.8898, allocations: 19.94 kB / 0.8503 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/0.8904, allocations: 43.97 kB / 0.8503 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.8906, allocations: 72.88 kB / 0.8504 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003286/0.8939, allocations: 1.144 MB / 0.8515 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002878/0.8968, allocations: 1.468 MB / 0.8529 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008258/0.8976, allocations: 379.8 kB / 0.8533 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007868/0.8984, allocations: 0.5317 MB / 0.8538 GB, free: 404 kB / 0.6075 GB Notification: Performance of Backend: time 7.11e-07/0.8984, allocations: 0 / 0.8538 GB, free: 404 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005107/0.9035, allocations: 1.825 MB / 0.8556 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of SimCode: time 0.004183/0.9077, allocations: 2.673 MB / 0.8582 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.04028/0.948, allocations: 25.4 MB / 0.883 GB, free: 2.684 MB / 0.6387 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1)