Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.002046/0.002046, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003019/0.003019, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.73/1.73, allocations: 230.6 MB / 256 MB, free: 7.785 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.084/1.084, allocations: 94.62 MB / 407.1 MB, free: 8.852 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_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",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.002668/0.002668, allocations: 82.84 kB / 0.5549 GB, free: 38.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2245, allocations: 73.06 MB / 0.6263 GB, free: 184 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.977/1.201, allocations: 176 MB / 0.7981 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0204/1.222, allocations: 13.68 MB / 0.8115 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/1.224, allocations: 65.91 kB / 0.8115 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001945/1.226, allocations: 463.3 kB / 0.812 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00533/1.231, allocations: 1.384 MB / 0.8133 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005819/1.237, allocations: 1.471 MB / 0.8148 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003191/1.24, allocations: 1.405 MB / 0.8161 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/1.24, allocations: 168.9 kB / 0.8163 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/1.244, allocations: 1.129 MB / 0.8174 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007532/1.244, allocations: 477.6 kB / 0.8179 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/1.245, allocations: 77.47 kB / 0.8179 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007558/1.252, allocations: 2.541 MB / 0.8204 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/1.253, allocations: 209.1 kB / 0.8206 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006854/1.253, allocations: 415 kB / 0.821 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005656/1.259, allocations: 1.979 MB / 0.8229 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/1.259, allocations: 0 / 0.8229 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.027e-06/1.259, allocations: 0 / 0.8229 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.089e-05/1.259, allocations: 3.938 kB / 0.8229 GB, free: 0.6133 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003726/1.263, allocations: 1.526 MB / 0.8244 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.095e-05/1.263, allocations: 15.06 kB / 0.8244 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/1.263, allocations: 117.8 kB / 0.8246 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/1.265, allocations: 251.9 kB / 0.8248 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/1.267, allocations: 0.7159 MB / 0.8255 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/1.267, allocations: 259.9 kB / 0.8257 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/1.267, allocations: 78.17 kB / 0.8258 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/1.269, allocations: 0.8228 MB / 0.8266 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/1.269, allocations: 0 / 0.8266 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/1.269, allocations: 36.59 kB / 0.8267 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/1.269, allocations: 17 kB / 0.8267 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/1.271, allocations: 0.6478 MB / 0.8273 GB, free: 14.27 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.004574/1.275, allocations: 2.074 MB / 0.8293 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/1.277, allocations: 0.5571 MB / 0.8299 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007537/1.278, allocations: 317.7 kB / 0.8302 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/1.278, allocations: 76.19 kB / 0.8303 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.278, allocations: 41.09 kB / 0.8303 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.174e-06/1.278, allocations: 0 / 0.8303 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004828/1.283, allocations: 1.467 MB / 0.8317 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/1.283, allocations: 57.69 kB / 0.8318 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/1.284, allocations: 0.6915 MB / 0.8325 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/1.284, allocations: 37.7 kB / 0.8325 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/1.284, allocations: 445.6 kB / 0.8329 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/1.284, allocations: 218.7 kB / 0.8331 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/1.285, allocations: 113.1 kB / 0.8332 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.285, allocations: 326.9 kB / 0.8335 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006484/1.286, allocations: 252.7 kB / 0.8338 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/1.286, allocations: 315.9 kB / 0.8341 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.288, allocations: 0.5429 MB / 0.8346 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.288, allocations: 0 / 0.8346 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002883/1.29, allocations: 1.042 MB / 0.8356 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/1.29, allocations: 8.25 kB / 0.8356 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.291, allocations: 0 / 0.8356 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009026/1.291, allocations: 225.6 kB / 0.8359 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/1.292, allocations: 153.3 kB / 0.836 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/1.299, allocations: 4.76 MB / 0.8407 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/1.299, allocations: 74.16 kB / 0.8407 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/1.299, allocations: 39.52 kB / 0.8408 GB, free: 4.68 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004394/1.3, allocations: 208.5 kB / 0.841 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/1.3, allocations: 89.91 kB / 0.841 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/1.304, allocations: 1.4 MB / 0.8424 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.304, allocations: 9.562 kB / 0.8424 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.304, allocations: 2.656 kB / 0.8424 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.304, allocations: 3.984 kB / 0.8424 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/1.308, allocations: 1.877 MB / 0.8443 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.308, allocations: 4.906 kB / 0.8443 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/1.309, allocations: 138.8 kB / 0.8444 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007284/1.31, allocations: 233.1 kB / 0.8446 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/1.31, allocations: 29.27 kB / 0.8446 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006638/1.316, allocations: 4.771 MB / 0.8493 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.316, allocations: 2.281 kB / 0.8493 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/1.32, allocations: 1.407 MB / 0.8507 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/1.32, allocations: 142.8 kB / 0.8508 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/1.321, allocations: 14.34 kB / 0.8508 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/1.321, allocations: 43.33 kB / 0.8509 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.321, allocations: 49.88 kB / 0.8509 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.398e-05/1.321, allocations: 33.89 kB / 0.851 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008236/1.322, allocations: 0.4892 MB / 0.8514 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.322, allocations: 0 / 0.8514 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001662/1.324, allocations: 398.4 kB / 0.8518 GB, free: 12.52 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005295/1.329, allocations: 2.36 MB / 0.8541 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002743/1.332, allocations: 1.044 MB / 0.8551 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.332, allocations: 0 / 0.8551 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.334, allocations: 0.7708 MB / 0.8559 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.335, allocations: 223.9 kB / 0.8561 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.35, allocations: 7.201 MB / 0.8631 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/1.35, allocations: 404.8 kB / 0.8635 GB, free: 316 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001181/1.352, allocations: 457.2 kB / 0.864 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000693/1.352, allocations: 411.2 kB / 0.8643 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of SimCode: time 1.783e-06/1.352, allocations: 0 / 0.8643 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08433/1.437, allocations: 27.53 MB / 0.8912 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.65, allocations: 14.86 kB / 0.8912 GB, free: 4.305 MB / 0.6387 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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: 21.45566224399954]