Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5436/0.5436, allocations: 94.59 MB / 399 MB, free: 15.79 MB / 334.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 87.88 kB / 0.5442 GB, free: 12.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 71.84 MB / 0.6144 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.2056/0.5274, allocations: 203 MB / 0.8126 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.5437, allocations: 15.23 MB / 0.8275 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000699/0.5444, allocations: 43.69 kB / 0.8275 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.5456, allocations: 0.524 MB / 0.828 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.5486, allocations: 1.347 MB / 0.8293 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.5519, allocations: 1.49 MB / 0.8308 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.5534, allocations: 1.393 MB / 0.8321 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.5537, allocations: 176.6 kB / 0.8323 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.5555, allocations: 1.102 MB / 0.8334 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.5561, allocations: 0.5131 MB / 0.8339 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.5562, allocations: 83.94 kB / 0.834 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004524/0.5607, allocations: 2.641 MB / 0.8366 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.5609, allocations: 207.1 kB / 0.8367 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.5613, allocations: 0.5011 MB / 0.8372 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.5641, allocations: 1.989 MB / 0.8392 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5641, allocations: 0 / 0.8392 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5641, allocations: 0 / 0.8392 GB, free: 14.1 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.5641, allocations: 0 / 0.8392 GB, free: 14.1 MB / 0.67 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.002518/0.5666, allocations: 1.598 MB / 0.8407 GB, free: 12.45 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5667, allocations: 12.03 kB / 0.8408 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.5668, allocations: 130.4 kB / 0.8409 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.5684, allocations: 247 kB / 0.8411 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.5696, allocations: 0.7954 MB / 0.8419 GB, free: 11.21 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.5698, allocations: 184.8 kB / 0.8421 GB, free: 11.01 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.5699, allocations: 83.88 kB / 0.8421 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.5714, allocations: 0.8296 MB / 0.843 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5714, allocations: 0 / 0.843 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.5715, allocations: 32 kB / 0.843 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.5715, allocations: 16 kB / 0.843 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.5729, allocations: 0.6519 MB / 0.8436 GB, free: 9.387 MB / 0.67 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.004041/0.577, allocations: 3.198 MB / 0.8468 GB, free: 5.902 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.5782, allocations: 0.5599 MB / 0.8473 GB, free: 5.332 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.5789, allocations: 330.4 kB / 0.8476 GB, free: 5.008 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.5796, allocations: 0.8913 MB / 0.8485 GB, free: 3.914 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.5796, allocations: 43.11 kB / 0.8485 GB, free: 3.863 MB / 0.67 GB Notification: Performance of pre-optimization done (n=58): time 1.983e-06/0.5796, allocations: 0 / 0.8485 GB, free: 3.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=58): time 0.004613/0.5842, allocations: 1.683 MB / 0.8502 GB, free: 2.109 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5843, allocations: 63.97 kB / 0.8502 GB, free: 2.035 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/0.5851, allocations: 0.6848 MB / 0.8509 GB, free: 1.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.5851, allocations: 33.7 kB / 0.8509 GB, free: 1.301 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.5854, allocations: 452.8 kB / 0.8514 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.5856, allocations: 214.1 kB / 0.8516 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.5858, allocations: 118.2 kB / 0.8517 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5859, allocations: 330 kB / 0.852 GB, free: 200 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.5866, allocations: 253 kB / 0.8522 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/0.5873, allocations: 308.6 kB / 0.8525 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.5886, allocations: 0.5483 MB / 0.8531 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5886, allocations: 0 / 0.8531 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002719/0.5913, allocations: 1.024 MB / 0.8541 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5913, allocations: 4 kB / 0.8541 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5913, allocations: 0 / 0.8541 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007616/0.5921, allocations: 250.2 kB / 0.8543 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.5928, allocations: 143.8 kB / 0.8545 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.5986, allocations: 5.094 MB / 0.8594 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.5991, allocations: 67.64 kB / 0.8595 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.5992, allocations: 43.98 kB / 0.8595 GB, free: 8.012 MB / 0.6856 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.0004008/0.5996, allocations: 205.6 kB / 0.8597 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.5998, allocations: 87.44 kB / 0.8598 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/0.6031, allocations: 1.413 MB / 0.8612 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.6031, allocations: 7.938 kB / 0.8612 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6031, allocations: 4 kB / 0.8612 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6031, allocations: 3.938 kB / 0.8612 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.6072, allocations: 2.079 MB / 0.8632 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6072, allocations: 160 / 0.8632 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/0.6079, allocations: 135.8 kB / 0.8634 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006862/0.6086, allocations: 234.3 kB / 0.8636 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.6087, allocations: 23.98 kB / 0.8636 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2307/0.8394, allocations: 5.105 MB / 0.8686 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8394, allocations: 6.344 kB / 0.8686 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.8423, allocations: 1.396 MB / 0.87 GB, free: 233.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.8426, allocations: 217.3 kB / 0.8702 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.8427, allocations: 18.81 kB / 0.8702 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.8431, allocations: 31.55 kB / 0.8702 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.8432, allocations: 57.67 kB / 0.8703 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.8433, allocations: 35.44 kB / 0.8703 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004723/0.8438, allocations: 495.1 kB / 0.8708 GB, free: 232.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8438, allocations: 2.312 kB / 0.8708 GB, free: 232.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008746/0.8446, allocations: 398.7 kB / 0.8712 GB, free: 232.8 MB / 0.6856 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.003627/0.8483, allocations: 2.367 MB / 0.8735 GB, free: 231.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.8502, allocations: 1.033 MB / 0.8745 GB, free: 231.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8502, allocations: 2.688 kB / 0.8745 GB, free: 231.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.8516, allocations: 0.777 MB / 0.8753 GB, free: 230.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.8524, allocations: 212.1 kB / 0.8755 GB, free: 230.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.8644, allocations: 7.21 MB / 0.8825 GB, free: 227.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.865, allocations: 0.9933 MB / 0.8835 GB, free: 226.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009576/0.8659, allocations: 450.5 kB / 0.8839 GB, free: 226.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.8664, allocations: 413.5 kB / 0.8843 GB, free: 226.3 MB / 0.6856 GB Notification: Performance of SimCode: time 5.71e-07/0.8664, allocations: 1.312 kB / 0.8843 GB, free: 226.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05324/0.9196, allocations: 25.92 MB / 0.9096 GB, free: 213.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.71, allocations: 4.062 kB / 0.9096 GB, free: 213.4 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 14.720446917999652]