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.002013/0.002013, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002719/0.002719, allocations: 216.4 kB / 22.25 MB, free: 5.113 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.627/1.627, allocations: 230.6 MB / 256 MB, free: 8.219 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.011/1.011, allocations: 94.56 MB / 407 MB, free: 9.207 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.002531/0.002531, allocations: 92.31 kB / 0.555 GB, free: 38.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1771, allocations: 73.05 MB / 0.6263 GB, free: 496 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.8075/0.9846, allocations: 203.1 MB / 0.8246 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02175/1.006, allocations: 15.21 MB / 0.8395 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/1.008, allocations: 67 kB / 0.8396 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/1.01, allocations: 0.52 MB / 0.8401 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006416/1.017, allocations: 1.391 MB / 0.8414 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005623/1.022, allocations: 1.49 MB / 0.8429 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002898/1.025, allocations: 1.406 MB / 0.8442 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/1.026, allocations: 173.2 kB / 0.8444 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/1.029, allocations: 1.137 MB / 0.8455 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/1.03, allocations: 0.51 MB / 0.846 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/1.03, allocations: 78.97 kB / 0.8461 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006519/1.036, allocations: 2.721 MB / 0.8488 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/1.036, allocations: 205.2 kB / 0.8489 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005488/1.037, allocations: 0.5039 MB / 0.8494 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/1.041, allocations: 1.992 MB / 0.8514 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.041, allocations: 4 kB / 0.8514 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.705e-06/1.041, allocations: 2.875 kB / 0.8514 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.52e-05/1.041, allocations: 0 / 0.8514 GB, free: 1.215 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003299/1.045, allocations: 1.532 MB / 0.8529 GB, free: 104 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.045, allocations: 9.375 kB / 0.8529 GB, free: 104 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/1.045, allocations: 118.4 kB / 0.853 GB, free: 0 / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/1.047, allocations: 250.6 kB / 0.8532 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/1.048, allocations: 0.7106 MB / 0.8539 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/1.049, allocations: 260.6 kB / 0.8542 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/1.049, allocations: 76.33 kB / 0.8543 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/1.05, allocations: 0.8276 MB / 0.8551 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/1.05, allocations: 4 kB / 0.8551 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/1.05, allocations: 28.28 kB / 0.8551 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/1.05, allocations: 17.38 kB / 0.8551 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/1.052, allocations: 0.6554 MB / 0.8558 GB, free: 14.24 MB / 0.6075 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.004813/1.057, allocations: 2.91 MB / 0.8586 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/1.058, allocations: 0.5609 MB / 0.8591 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/1.059, allocations: 327.8 kB / 0.8595 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/1.059, allocations: 77.61 kB / 0.8595 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/1.059, allocations: 43.05 kB / 0.8596 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.775e-06/1.059, allocations: 0 / 0.8596 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.004947/1.064, allocations: 1.455 MB / 0.861 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/1.064, allocations: 63.84 kB / 0.8611 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/1.065, allocations: 0.6926 MB / 0.8617 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/1.065, allocations: 33.7 kB / 0.8618 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/1.066, allocations: 452.8 kB / 0.8622 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/1.066, allocations: 207.3 kB / 0.8624 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/1.066, allocations: 122.2 kB / 0.8625 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.066, allocations: 326 kB / 0.8628 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/1.067, allocations: 261.2 kB / 0.8631 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/1.068, allocations: 305.6 kB / 0.8634 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/1.069, allocations: 0.5496 MB / 0.8639 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.069, allocations: 3.938 kB / 0.8639 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002899/1.072, allocations: 1.026 MB / 0.8649 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.072, allocations: 6.188 kB / 0.8649 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.072, allocations: 0 / 0.8649 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008367/1.073, allocations: 230.3 kB / 0.8651 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/1.074, allocations: 159.8 kB / 0.8653 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006303/1.08, allocations: 4.79 MB / 0.87 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007986/1.081, allocations: 67.83 kB / 0.87 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.081, allocations: 39.97 kB / 0.8701 GB, free: 15.89 MB / 0.6231 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.000449/1.081, allocations: 201.5 kB / 0.8703 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/1.081, allocations: 91.39 kB / 0.8703 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/1.085, allocations: 1.403 MB / 0.8717 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/1.085, allocations: 8 kB / 0.8717 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.085, allocations: 0 / 0.8717 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/1.085, allocations: 0 / 0.8717 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/1.09, allocations: 1.979 MB / 0.8737 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.09, allocations: 0 / 0.8737 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/1.09, allocations: 135.8 kB / 0.8738 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008008/1.091, allocations: 242.4 kB / 0.874 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-05/1.091, allocations: 27.98 kB / 0.874 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006519/1.098, allocations: 4.794 MB / 0.8787 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/1.098, allocations: 0 / 0.8787 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/1.102, allocations: 1.404 MB / 0.8801 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/1.102, allocations: 147.2 kB / 0.8802 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.103, allocations: 12 kB / 0.8802 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/1.103, allocations: 35.97 kB / 0.8803 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/1.103, allocations: 52.34 kB / 0.8803 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/1.103, allocations: 35.97 kB / 0.8804 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007852/1.104, allocations: 495 kB / 0.8808 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/1.104, allocations: 0 / 0.8808 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002442/1.107, allocations: 407 kB / 0.8812 GB, free: 3.988 MB / 0.6231 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.005526/1.112, allocations: 2.354 MB / 0.8835 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002881/1.115, allocations: 1.048 MB / 0.8845 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.115, allocations: 4.125 kB / 0.8846 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/1.117, allocations: 0.7774 MB / 0.8853 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/1.118, allocations: 204.6 kB / 0.8855 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.133, allocations: 7.214 MB / 0.8926 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.134, allocations: 0.9971 MB / 0.8935 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001287/1.136, allocations: 452.5 kB / 0.894 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/1.137, allocations: 419.2 kB / 0.8944 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of SimCode: time 1.724e-06/1.137, allocations: 0 / 0.8944 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08343/1.22, allocations: 26.31 MB / 0.92 GB, free: 12.19 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/18.08, allocations: 3.938 kB / 0.92 GB, free: 12.19 MB / 0.67 GB " [Timeout remaining time 642] (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: 22.551083764992654]