Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,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_OM_adaptions_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_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008138/0.0008139, allocations: 173.7 kB / 16.11 MB, free: 5.66 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.189/1.189, allocations: 205 MB / 221.9 MB, free: 9.145 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.0007525/0.0007525, allocations: 85.48 kB / 269.9 MB, free: 8.676 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.5988/0.5988, allocations: 90.51 MB / 408.3 MB, free: 3.934 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 12 kB / 484.9 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2394, allocations: 65.81 MB / 0.5378 GB, free: 34.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4044/0.6439, allocations: 221.9 MB / 0.7545 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.6598, allocations: 18.93 MB / 0.773 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.661, allocations: 19.69 kB / 0.773 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.6622, allocations: 485.5 kB / 0.7734 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.6656, allocations: 1.454 MB / 0.7749 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005885/0.6715, allocations: 2.402 MB / 0.7772 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.673, allocations: 1.666 MB / 0.7788 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.6733, allocations: 249.5 kB / 0.7791 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.6749, allocations: 1.012 MB / 0.7801 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.6754, allocations: 0.515 MB / 0.7806 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/0.6754, allocations: 41.28 kB / 0.7806 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008488/0.6839, allocations: 5.457 MB / 0.7859 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.6841, allocations: 161.8 kB / 0.7861 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004716/0.6846, allocations: 485 kB / 0.7865 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00448/0.6891, allocations: 2.948 MB / 0.7894 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6891, allocations: 0 / 0.7894 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6891, allocations: 0 / 0.7894 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.6891, allocations: 0 / 0.7894 GB, free: 2.52 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002963/0.6921, allocations: 1.583 MB / 0.791 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.6921, allocations: 8.031 kB / 0.791 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.6938, allocations: 242.5 kB / 0.7912 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.6945, allocations: 0.5801 MB / 0.7918 GB, free: 40 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.6947, allocations: 204.8 kB / 0.792 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.6949, allocations: 87.91 kB / 0.7921 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.6966, allocations: 0.9797 MB / 0.793 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6966, allocations: 4 kB / 0.793 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/0.6967, allocations: 36 kB / 0.7931 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.6967, allocations: 23.94 kB / 0.7931 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.6983, allocations: 0.7924 MB / 0.7939 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/0.7021, allocations: 3.677 MB / 0.7974 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.704, allocations: 0.941 MB / 0.7984 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007916/0.7048, allocations: 471.8 kB / 0.7988 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002083/0.7069, allocations: 3.105 MB / 0.8018 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.7069, allocations: 39.22 kB / 0.8019 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=83): time 2.254e-06/0.7069, allocations: 0 / 0.8019 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=83): time 0.005325/0.7123, allocations: 2.22 MB / 0.804 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.7123, allocations: 60.06 kB / 0.8041 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.7128, allocations: 499.1 kB / 0.8046 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.7129, allocations: 37.7 kB / 0.8046 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.7131, allocations: 387.6 kB / 0.805 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.7133, allocations: 283.7 kB / 0.8053 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.7134, allocations: 16 kB / 0.8053 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7135, allocations: 382.8 kB / 0.8056 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/0.7143, allocations: 353.8 kB / 0.806 GB, free: 460 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008038/0.7151, allocations: 427.1 kB / 0.8064 GB, free: 20 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.7167, allocations: 0.7611 MB / 0.8071 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7167, allocations: 0 / 0.8071 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003205/0.7199, allocations: 1.354 MB / 0.8084 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.72, allocations: 7.938 kB / 0.8085 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.72, allocations: 0 / 0.8085 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008236/0.7208, allocations: 286.5 kB / 0.8087 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.7217, allocations: 195.8 kB / 0.8089 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/0.7269, allocations: 5.024 MB / 0.8138 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.7274, allocations: 103.3 kB / 0.8139 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.7275, allocations: 59.97 kB / 0.814 GB, free: 7.797 MB / 0.5417 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 (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003166/0.7279, allocations: 207.6 kB / 0.8142 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.728, allocations: 71.09 kB / 0.8142 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/0.7319, allocations: 1.639 MB / 0.8158 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.732, allocations: 7.984 kB / 0.8159 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.732, allocations: 0 / 0.8159 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.7321, allocations: 163.8 kB / 0.816 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.7322, allocations: 16 kB / 0.816 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.7328, allocations: 71.86 kB / 0.8161 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.7329, allocations: 80.88 kB / 0.8162 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002954/0.7359, allocations: 1.304 MB / 0.8174 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002644/0.7385, allocations: 1.598 MB / 0.819 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007482/0.7393, allocations: 439.8 kB / 0.8194 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003243/0.7396, allocations: 346.8 kB / 0.8198 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of Backend: time 4.61e-07/0.7396, allocations: 0 / 0.8198 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00493/0.7446, allocations: 2.473 MB / 0.8222 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of SimCode: time 0.002893/0.7475, allocations: 2.761 MB / 0.8249 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of Templates: time 0.03929/0.7868, allocations: 29.24 MB / 0.8534 GB, free: 15.44 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1)