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.001366/0.001366, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001519/0.001519, allocations: 183.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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6681/0.6681, allocations: 91.19 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 71.89 kB / 0.5175 GB, free: 4.117 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3172, allocations: 67.7 MB / 0.5836 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5587/0.876, allocations: 235 MB / 0.8131 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.8946, allocations: 22.27 MB / 0.8348 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.8959, allocations: 57.59 kB / 0.8349 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.8979, allocations: 0.7871 MB / 0.8356 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.9027, allocations: 2.053 MB / 0.8376 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004986/0.9077, allocations: 2.181 MB / 0.8398 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002349/0.9101, allocations: 2.188 MB / 0.8419 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.9107, allocations: 417.2 kB / 0.8423 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.913, allocations: 1.395 MB / 0.8437 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.9142, allocations: 0.8308 MB / 0.8445 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002775/0.9144, allocations: 132 kB / 0.8446 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007369/0.9218, allocations: 4.094 MB / 0.8486 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.9222, allocations: 344.1 kB / 0.8489 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009512/0.9231, allocations: 0.8155 MB / 0.8497 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.9279, allocations: 2.996 MB / 0.8527 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9279, allocations: 4 kB / 0.8527 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9279, allocations: 0 / 0.8527 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.705e-05/0.928, allocations: 0 / 0.8527 GB, free: 0.6406 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.004556/0.9326, allocations: 2.292 MB / 0.8549 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.9326, allocations: 8.031 kB / 0.8549 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.9358, allocations: 411.9 kB / 0.8553 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.9377, allocations: 1.086 MB / 0.8564 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.938, allocations: 352 kB / 0.8567 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.9383, allocations: 135.9 kB / 0.8568 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.9412, allocations: 1.447 MB / 0.8582 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.9412, allocations: 4 kB / 0.8582 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.9414, allocations: 52 kB / 0.8583 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.9414, allocations: 32 kB / 0.8583 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.9441, allocations: 1.192 MB / 0.8595 GB, free: 9.543 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.006971/0.9511, allocations: 5.435 MB / 0.8648 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.954, allocations: 1.315 MB / 0.8661 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.9556, allocations: 0.7138 MB / 0.8668 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.9567, allocations: 1.788 MB / 0.8685 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.9567, allocations: 46.19 kB / 0.8686 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 2.605e-06/0.9567, allocations: 0 / 0.8686 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.008887/0.9656, allocations: 3.048 MB / 0.8715 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.9657, allocations: 60.41 kB / 0.8716 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/0.9667, allocations: 0.8793 MB / 0.8725 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.849e-05/0.9668, allocations: 41.7 kB / 0.8725 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.9671, allocations: 0.6142 MB / 0.8731 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.9674, allocations: 386.8 kB / 0.8735 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.9678, allocations: 202.9 kB / 0.8737 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9679, allocations: 341.9 kB / 0.874 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.9691, allocations: 0.4905 MB / 0.8745 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.9704, allocations: 0.5879 MB / 0.875 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/0.9729, allocations: 1.052 MB / 0.8761 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.9729, allocations: 3.938 kB / 0.8761 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005387/0.9783, allocations: 1.918 MB / 0.8779 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.9783, allocations: 8 kB / 0.878 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9783, allocations: 0 / 0.878 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.9797, allocations: 409.7 kB / 0.8783 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.9813, allocations: 305.9 kB / 0.8786 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009858/0.9911, allocations: 7.422 MB / 0.8859 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009478/0.9921, allocations: 127 kB / 0.886 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.9923, allocations: 71.97 kB / 0.8861 GB, free: 12.9 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.0005191/0.9928, allocations: 268 kB / 0.8863 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.9931, allocations: 126.4 kB / 0.8864 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006632/0.9997, allocations: 2.716 MB / 0.8891 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.9997, allocations: 7.969 kB / 0.8891 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9998, allocations: 4 kB / 0.8891 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/1, allocations: 311 kB / 0.8894 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/1, allocations: 31.88 kB / 0.8894 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/1.001, allocations: 75.92 kB / 0.8895 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.002, allocations: 104.8 kB / 0.8896 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004639/1.006, allocations: 1.689 MB / 0.8913 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004085/1.01, allocations: 2.11 MB / 0.8933 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001171/1.011, allocations: 0.566 MB / 0.8939 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007219/1.012, allocations: 0.6064 MB / 0.8945 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of Backend: time 4.01e-07/1.012, allocations: 4 kB / 0.8945 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005642/1.018, allocations: 2.506 MB / 0.8969 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of SimCode: time 0.00451/1.022, allocations: 3.282 MB / 0.9001 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.04926/1.072, allocations: 33.27 MB / 0.9326 GB, free: 13.48 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)