Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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.002206/0.002206, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001375/0.001375, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.402/1.402, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.959/0.959, allocations: 80.17 MB / 339.4 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.278e-06/4.278e-06, allocations: 0 / 0.4924 GB, free: 6.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.981e-05/7.409e-05, allocations: 11.94 kB / 0.4924 GB, free: 6.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 1.062/1.062, allocations: 277.5 MB / 0.7633 GB, free: 5.973 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.04256/1.105, allocations: 29.81 MB / 0.7924 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006212/1.111, allocations: 154.6 kB / 0.7926 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.005517/1.117, allocations: 1.291 MB / 0.7939 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01531/1.132, allocations: 3.697 MB / 0.7975 GB, free: 4.945 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01808/1.15, allocations: 3.517 MB / 0.8009 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01038/1.16, allocations: 4.365 MB / 0.8052 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/1.162, allocations: 0.4986 MB / 0.8056 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008673/1.171, allocations: 3.245 MB / 0.8088 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/1.173, allocations: 1.196 MB / 0.81 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005158/1.174, allocations: 232 kB / 0.8102 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01592/1.189, allocations: 6.489 MB / 0.8165 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009835/1.19, allocations: 0.6028 MB / 0.8171 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002738/1.193, allocations: 0.9857 MB / 0.8181 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01897/1.212, allocations: 5.281 MB / 0.8233 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/1.212, allocations: 4 kB / 0.8233 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.424e-06/1.212, allocations: 0 / 0.8233 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001412/1.212, allocations: 0 / 0.8233 GB, free: 10.41 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.009195/1.222, allocations: 3.74 MB / 0.8269 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 9.059e-05/1.222, allocations: 13.47 kB / 0.8269 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004084/1.222, allocations: 295.4 kB / 0.8272 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/1.225, allocations: 0.6499 MB / 0.8278 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/1.228, allocations: 1.731 MB / 0.8295 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004135/1.229, allocations: 0.6048 MB / 0.8301 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/1.229, allocations: 215.9 kB / 0.8303 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004437/1.234, allocations: 2.323 MB / 0.8326 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/1.234, allocations: 3.938 kB / 0.8326 GB, free: 480 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/1.234, allocations: 88 kB / 0.8327 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.234, allocations: 76.05 kB / 0.8328 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/1.237, allocations: 1.971 MB / 0.8347 GB, free: 14.32 MB / 0.6511 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.01028/1.248, allocations: 6.139 MB / 0.8407 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/1.251, allocations: 1.851 MB / 0.8425 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/1.252, allocations: 0.9558 MB / 0.8434 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/1.253, allocations: 213.8 kB / 0.8436 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/1.253, allocations: 48.56 kB / 0.8437 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=174): time 4.959e-06/1.253, allocations: 4 kB / 0.8437 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of matching and sorting (n=176): time 0.01233/1.265, allocations: 6.105 MB / 0.8496 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/1.265, allocations: 69.41 kB / 0.8497 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/1.268, allocations: 1.628 MB / 0.8513 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.555e-05/1.268, allocations: 57.7 kB / 0.8513 GB, free: 13 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008018/1.268, allocations: 1.109 MB / 0.8524 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/1.269, allocations: 0.6235 MB / 0.853 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006918/1.27, allocations: 323.5 kB / 0.8533 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.27, allocations: 309 kB / 0.8536 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/1.271, allocations: 0.6608 MB / 0.8543 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/1.272, allocations: 0.8569 MB / 0.8551 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/1.275, allocations: 1.554 MB / 0.8566 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.275, allocations: 0 / 0.8566 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004676/1.279, allocations: 2.604 MB / 0.8592 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.279, allocations: 8 kB / 0.8592 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.279, allocations: 4 kB / 0.8592 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/1.281, allocations: 0.5359 MB / 0.8597 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009795/1.282, allocations: 371.5 kB / 0.8601 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/1.293, allocations: 9.496 MB / 0.8693 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.294, allocations: 83.92 kB / 0.8694 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/1.295, allocations: 128 kB / 0.8695 GB, free: 9.652 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (173): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,2,100.0%), (2,17,100.0%), (2,2,100.0%), (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.001217/1.296, allocations: 397.4 kB / 0.8699 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004387/1.296, allocations: 250.4 kB / 0.8702 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006054/1.302, allocations: 3.887 MB / 0.874 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/1.302, allocations: 23.98 kB / 0.874 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.302, allocations: 8 kB / 0.874 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/1.303, allocations: 7.969 kB / 0.874 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008014/1.311, allocations: 4.664 MB / 0.8786 GB, free: 308 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/1.311, allocations: 4.219 kB / 0.8786 GB, free: 304 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009018/1.311, allocations: 351.6 kB / 0.8789 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/1.313, allocations: 0.5358 MB / 0.8794 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.313, allocations: 71.95 kB / 0.8795 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009977/1.323, allocations: 9.415 MB / 0.8887 GB, free: 5.348 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.323, allocations: 7.969 kB / 0.8887 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0061/1.329, allocations: 3.656 MB / 0.8923 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007332/1.33, allocations: 386 kB / 0.8926 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/1.33, allocations: 36 kB / 0.8927 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/1.33, allocations: 84.11 kB / 0.8927 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/1.331, allocations: 177.6 kB / 0.8929 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.331, allocations: 108 kB / 0.893 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001446/1.332, allocations: 1.093 MB / 0.8941 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/1.332, allocations: 0 / 0.8941 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003863/1.336, allocations: 0.9323 MB / 0.895 GB, free: 14.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008707/1.345, allocations: 5.196 MB / 0.9001 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005151/1.35, allocations: 2.516 MB / 0.9025 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.35, allocations: 0 / 0.9025 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.352, allocations: 1.722 MB / 0.9042 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/1.356, allocations: 0.8283 MB / 0.905 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5253/1.881, allocations: 17.28 MB / 0.9219 GB, free: 303.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.882, allocations: 1.064 MB / 0.9229 GB, free: 303.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003718/1.886, allocations: 1.46 MB / 0.9244 GB, free: 303.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/1.888, allocations: 1.214 MB / 0.9255 GB, free: 302.7 MB / 0.7136 GB Notification: Performance of SimCode: time 4.609e-06/1.888, allocations: 0 / 0.9255 GB, free: 302.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/2.018, allocations: 75.58 MB / 0.9994 GB, free: 235.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/13.65, allocations: 7.281 kB / 0.9994 GB, free: 235.5 MB / 0.7136 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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: 17.883586929179728]