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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00327/0.00327, allocations: 211.4 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.768/1.768, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 1.077/1.077, allocations: 94.62 MB / 407.1 MB, free: 8.91 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 86.91 kB / 0.5549 GB, free: 38.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2338, allocations: 73.05 MB / 0.6263 GB, free: 220 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.9557/1.19, allocations: 187.2 MB / 0.8091 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02366/1.213, allocations: 15.84 MB / 0.8246 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/1.216, allocations: 77.53 kB / 0.8246 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00265/1.218, allocations: 0.5573 MB / 0.8252 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007736/1.226, allocations: 1.787 MB / 0.8269 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006373/1.232, allocations: 1.678 MB / 0.8286 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00348/1.236, allocations: 1.727 MB / 0.8303 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/1.236, allocations: 184.4 kB / 0.8304 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/1.24, allocations: 1.269 MB / 0.8317 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/1.241, allocations: 0.5801 MB / 0.8322 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/1.241, allocations: 95.09 kB / 0.8323 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00911/1.25, allocations: 3.328 MB / 0.8356 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/1.251, allocations: 255.7 kB / 0.8358 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000844/1.252, allocations: 0.5011 MB / 0.8363 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005704/1.257, allocations: 2.37 MB / 0.8386 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.257, allocations: 2.562 kB / 0.8386 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.825e-06/1.257, allocations: 0 / 0.8386 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.572e-05/1.257, allocations: 0 / 0.8386 GB, free: 8.965 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.004332/1.262, allocations: 1.833 MB / 0.8404 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.67e-05/1.262, allocations: 11.59 kB / 0.8404 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/1.262, allocations: 139.5 kB / 0.8406 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/1.264, allocations: 300.5 kB / 0.8409 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/1.266, allocations: 0.838 MB / 0.8417 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003809/1.266, allocations: 283.2 kB / 0.8419 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/1.267, allocations: 96.95 kB / 0.842 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/1.269, allocations: 1.008 MB / 0.843 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/1.269, allocations: 2.594 kB / 0.843 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-05/1.269, allocations: 36.25 kB / 0.8431 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/1.269, allocations: 23.66 kB / 0.8431 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/1.271, allocations: 0.791 MB / 0.8438 GB, free: 5.434 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.005805/1.277, allocations: 2.756 MB / 0.8465 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/1.279, allocations: 0.8138 MB / 0.8473 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008477/1.28, allocations: 403.9 kB / 0.8477 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/1.28, allocations: 106.2 kB / 0.8478 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/1.28, allocations: 39.12 kB / 0.8479 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.216e-06/1.28, allocations: 4 kB / 0.8479 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005511/1.286, allocations: 1.706 MB / 0.8495 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/1.286, allocations: 61 kB / 0.8496 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/1.287, allocations: 0.7993 MB / 0.8504 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.981e-05/1.287, allocations: 40.27 kB / 0.8504 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006309/1.288, allocations: 0.5237 MB / 0.8509 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/1.288, allocations: 289.7 kB / 0.8512 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/1.289, allocations: 155.6 kB / 0.8513 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002354/1.289, allocations: 341.3 kB / 0.8517 GB, free: 172 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/1.29, allocations: 310.8 kB / 0.852 GB, free: 28 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009557/1.291, allocations: 394.2 kB / 0.8523 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/1.292, allocations: 0.6994 MB / 0.853 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/1.292, allocations: 0 / 0.853 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003528/1.296, allocations: 1.24 MB / 0.8542 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/1.296, allocations: 8 kB / 0.8542 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.296, allocations: 2.188 kB / 0.8542 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009864/1.297, allocations: 250.4 kB / 0.8545 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009906/1.298, allocations: 199.5 kB / 0.8547 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006891/1.305, allocations: 4.89 MB / 0.8594 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/1.305, allocations: 87.53 kB / 0.8595 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.306, allocations: 55.97 kB / 0.8596 GB, free: 8.219 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.0005637/1.306, allocations: 222.1 kB / 0.8598 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/1.306, allocations: 119.2 kB / 0.8599 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/1.311, allocations: 1.819 MB / 0.8617 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/1.311, allocations: 8 kB / 0.8617 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.311, allocations: 4 kB / 0.8617 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.311, allocations: 11.92 kB / 0.8617 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/1.317, allocations: 2.269 MB / 0.8639 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.317, allocations: 4 kB / 0.8639 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009711/1.318, allocations: 191.5 kB / 0.8641 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000843/1.318, allocations: 253.8 kB / 0.8644 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.319, allocations: 35.97 kB / 0.8644 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006988/1.326, allocations: 4.901 MB / 0.8692 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.326, allocations: 0 / 0.8692 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/1.33, allocations: 1.734 MB / 0.8709 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/1.33, allocations: 183 kB / 0.871 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/1.331, allocations: 16 kB / 0.8711 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/1.331, allocations: 43.95 kB / 0.8711 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.332, allocations: 75.06 kB / 0.8712 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.332, allocations: 51.91 kB / 0.8712 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001091/1.333, allocations: 0.5566 MB / 0.8718 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.333, allocations: 4 kB / 0.8718 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002005/1.335, allocations: 482.8 kB / 0.8722 GB, free: 10.86 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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 {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00696/1.342, allocations: 2.725 MB / 0.8749 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003554/1.345, allocations: 1.206 MB / 0.8761 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.345, allocations: 4 kB / 0.8761 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/1.347, allocations: 0.8845 MB / 0.8769 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/1.349, allocations: 265.1 kB / 0.8772 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/1.371, allocations: 8.633 MB / 0.8856 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/1.371, allocations: 495.2 kB / 0.8861 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001853/1.373, allocations: 0.6334 MB / 0.8867 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009795/1.374, allocations: 0.5187 MB / 0.8872 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of SimCode: time 2.003e-06/1.374, allocations: 4 kB / 0.8872 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/1.497, allocations: 32.67 MB / 0.9191 GB, free: 10.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/17.34, allocations: 3.375 kB / 0.9191 GB, free: 10.98 MB / 0.67 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.19349120184779]