Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009272/0.0009274, allocations: 171.9 kB / 16.11 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205 MB / 221.9 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007384/0.0007385, allocations: 92.92 kB / 269.9 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5941/0.5941, allocations: 90.5 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002631, allocations: 12.22 kB / 484.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2165, allocations: 65.79 MB / 0.5378 GB, free: 34.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.3987/0.6152, allocations: 245.2 MB / 0.7772 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.6361, allocations: 24.32 MB / 0.8009 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.6372, allocations: 27.81 kB / 0.801 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.6387, allocations: 0.6102 MB / 0.8015 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003673/0.6424, allocations: 1.695 MB / 0.8032 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007474/0.6499, allocations: 3.111 MB / 0.8062 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.6517, allocations: 2.122 MB / 0.8083 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.6521, allocations: 336.6 kB / 0.8086 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.6537, allocations: 1.152 MB / 0.8098 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005831/0.6543, allocations: 0.6736 MB / 0.8104 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.6544, allocations: 56 kB / 0.8105 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009797/0.6642, allocations: 6.714 MB / 0.817 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.6644, allocations: 230.6 kB / 0.8172 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004889/0.6649, allocations: 0.6163 MB / 0.8178 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004687/0.6696, allocations: 3.699 MB / 0.8215 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6696, allocations: 3.984 kB / 0.8215 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6696, allocations: 3.938 kB / 0.8215 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6697, allocations: 4 kB / 0.8215 GB, free: 14.93 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.003492/0.6732, allocations: 1.976 MB / 0.8234 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.6732, allocations: 8.031 kB / 0.8234 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.6756, allocations: 342 kB / 0.8237 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.6766, allocations: 0.7146 MB / 0.8244 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.6769, allocations: 351.8 kB / 0.8248 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.6771, allocations: 119.9 kB / 0.8249 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.6797, allocations: 1.405 MB / 0.8263 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.6797, allocations: 0 / 0.8263 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.6798, allocations: 51.94 kB / 0.8263 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.6798, allocations: 31.94 kB / 0.8263 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.6823, allocations: 1.176 MB / 0.8275 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/0.6878, allocations: 4.916 MB / 0.8323 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.6907, allocations: 1.375 MB / 0.8336 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.6919, allocations: 0.6829 MB / 0.8343 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0028/0.6947, allocations: 4.144 MB / 0.8383 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.6948, allocations: 43.56 kB / 0.8384 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=112): time 2.515e-06/0.6948, allocations: 0 / 0.8384 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=112): time 0.008637/0.7034, allocations: 3.497 MB / 0.8418 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.7035, allocations: 60.41 kB / 0.8419 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.704, allocations: 0.563 MB / 0.8424 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.523e-05/0.7041, allocations: 45.7 kB / 0.8424 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.7043, allocations: 468.3 kB / 0.8429 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.7046, allocations: 390.9 kB / 0.8433 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.7046, allocations: 20 kB / 0.8433 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.7048, allocations: 349.9 kB / 0.8436 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.7059, allocations: 0.5407 MB / 0.8442 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.7071, allocations: 0.6278 MB / 0.8448 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.7095, allocations: 1.152 MB / 0.8459 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7095, allocations: 0 / 0.8459 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004979/0.7145, allocations: 2.115 MB / 0.848 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7145, allocations: 7.938 kB / 0.848 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7145, allocations: 4 kB / 0.848 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.7157, allocations: 475.1 kB / 0.8484 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.717, allocations: 287.7 kB / 0.8487 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008372/0.7254, allocations: 7.228 MB / 0.8558 GB, free: 9.758 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/0.7262, allocations: 151.2 kB / 0.8559 GB, free: 9.609 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.7264, allocations: 83.95 kB / 0.856 GB, free: 9.527 MB / 0.573 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 (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003555/0.7267, allocations: 237.6 kB / 0.8562 GB, free: 9.285 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.7269, allocations: 94.88 kB / 0.8563 GB, free: 9.191 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006227/0.7332, allocations: 2.495 MB / 0.8587 GB, free: 6.684 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.7332, allocations: 3.984 kB / 0.8587 GB, free: 6.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7332, allocations: 0 / 0.8587 GB, free: 6.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.7333, allocations: 183.6 kB / 0.8589 GB, free: 6.48 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.7335, allocations: 24 kB / 0.8589 GB, free: 6.457 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.7343, allocations: 123.8 kB / 0.859 GB, free: 6.336 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.7345, allocations: 108.8 kB / 0.8592 GB, free: 6.227 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004476/0.739, allocations: 1.875 MB / 0.861 GB, free: 4.359 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003972/0.7429, allocations: 2.254 MB / 0.8632 GB, free: 2.09 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001148/0.7441, allocations: 0.6324 MB / 0.8638 GB, free: 1.457 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000365/0.7445, allocations: 395.1 kB / 0.8642 GB, free: 1.078 MB / 0.573 GB Notification: Performance of Backend: time 3.81e-07/0.7445, allocations: 0 / 0.8642 GB, free: 1.078 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006416/0.7509, allocations: 3.347 MB / 0.8674 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of SimCode: time 0.00355/0.7545, allocations: 3.394 MB / 0.8708 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of Templates: time 0.04825/0.8027, allocations: 37.66 MB / 0.9075 GB, free: 4.789 MB / 0.6198 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1)