Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.001666/0.001666, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001827/0.001827, allocations: 216.1 kB / 22.25 MB, free: 5.082 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.673/1.673, allocations: 230.6 MB / 256 MB, free: 8.016 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 0.893/0.893, allocations: 94.56 MB / 407 MB, free: 9.219 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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_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.00264/0.00264, allocations: 90.56 kB / 0.555 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2094, allocations: 73.05 MB / 0.6263 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.9042/1.114, allocations: 203.1 MB / 0.8246 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02015/1.134, allocations: 15.02 MB / 0.8393 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/1.136, allocations: 67.28 kB / 0.8394 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/1.138, allocations: 0.5079 MB / 0.8399 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005922/1.144, allocations: 1.385 MB / 0.8412 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005127/1.149, allocations: 1.412 MB / 0.8426 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003273/1.152, allocations: 1.398 MB / 0.844 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/1.153, allocations: 174.7 kB / 0.8441 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003495/1.156, allocations: 1.135 MB / 0.8452 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008599/1.157, allocations: 0.5166 MB / 0.8457 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/1.157, allocations: 78.38 kB / 0.8458 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006858/1.164, allocations: 2.61 MB / 0.8484 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/1.165, allocations: 209.7 kB / 0.8486 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00079/1.165, allocations: 0.5038 MB / 0.8491 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006312/1.172, allocations: 1.904 MB / 0.8509 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/1.172, allocations: 7.984 kB / 0.8509 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.306e-06/1.172, allocations: 0 / 0.8509 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.21e-05/1.172, allocations: 0 / 0.8509 GB, free: 0.8984 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.003778/1.175, allocations: 1.511 MB / 0.8524 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.176, allocations: 10.25 kB / 0.8524 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/1.176, allocations: 120.5 kB / 0.8525 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/1.178, allocations: 246.7 kB / 0.8528 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/1.179, allocations: 0.7073 MB / 0.8534 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/1.18, allocations: 264.6 kB / 0.8537 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/1.18, allocations: 80.23 kB / 0.8538 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.182, allocations: 0.8138 MB / 0.8546 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/1.182, allocations: 4 kB / 0.8546 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/1.182, allocations: 30.88 kB / 0.8546 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/1.182, allocations: 22.31 kB / 0.8546 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/1.183, allocations: 0.6503 MB / 0.8553 GB, free: 13.94 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.0053/1.189, allocations: 2.94 MB / 0.8581 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/1.19, allocations: 0.5582 MB / 0.8587 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/1.191, allocations: 327.9 kB / 0.859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/1.191, allocations: 86.17 kB / 0.8591 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.191, allocations: 37.5 kB / 0.8591 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.484e-06/1.191, allocations: 0 / 0.8591 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004887/1.196, allocations: 1.453 MB / 0.8605 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/1.196, allocations: 55.91 kB / 0.8606 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.197, allocations: 0.6651 MB / 0.8612 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.602e-05/1.197, allocations: 37.7 kB / 0.8613 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/1.197, allocations: 440.8 kB / 0.8617 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/1.198, allocations: 215.2 kB / 0.8619 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/1.198, allocations: 110.3 kB / 0.862 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.198, allocations: 329.9 kB / 0.8623 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/1.199, allocations: 253.2 kB / 0.8626 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/1.199, allocations: 265.7 kB / 0.8628 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/1.201, allocations: 0.5284 MB / 0.8633 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/1.201, allocations: 4 kB / 0.8633 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003084/1.204, allocations: 1.01 MB / 0.8643 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.204, allocations: 8 kB / 0.8643 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.204, allocations: 1.625 kB / 0.8643 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009192/1.205, allocations: 226.4 kB / 0.8645 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007785/1.205, allocations: 147.8 kB / 0.8647 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007024/1.213, allocations: 4.801 MB / 0.8694 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/1.213, allocations: 63.69 kB / 0.8694 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.213, allocations: 35.98 kB / 0.8695 GB, free: 15.88 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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.0005718/1.214, allocations: 209.7 kB / 0.8697 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/1.214, allocations: 91.39 kB / 0.8697 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.218, allocations: 1.407 MB / 0.8711 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.218, allocations: 7.938 kB / 0.8711 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.218, allocations: 7.938 kB / 0.8711 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.218, allocations: 7.969 kB / 0.8711 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/1.223, allocations: 1.983 MB / 0.8731 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.223, allocations: 0 / 0.8731 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007596/1.224, allocations: 144 kB / 0.8732 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007351/1.224, allocations: 234.3 kB / 0.8734 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/1.224, allocations: 27.92 kB / 0.8735 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006334/1.231, allocations: 4.796 MB / 0.8782 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.231, allocations: 1.188 kB / 0.8782 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/1.234, allocations: 1.42 MB / 0.8795 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/1.235, allocations: 139.2 kB / 0.8797 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/1.235, allocations: 15.94 kB / 0.8797 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/1.236, allocations: 39.95 kB / 0.8797 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.236, allocations: 56.41 kB / 0.8798 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/1.236, allocations: 31.98 kB / 0.8798 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007873/1.237, allocations: 483 kB / 0.8803 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/1.237, allocations: 0 / 0.8803 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001411/1.238, allocations: 383 kB / 0.8806 GB, free: 3.953 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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.004941/1.243, allocations: 2.338 MB / 0.8829 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002645/1.246, allocations: 1.034 MB / 0.8839 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.246, allocations: 0 / 0.8839 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.247, allocations: 0.7859 MB / 0.8847 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.249, allocations: 209 kB / 0.8849 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/1.263, allocations: 7.096 MB / 0.8918 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/1.264, allocations: 0.9932 MB / 0.8928 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001083/1.265, allocations: 459.1 kB / 0.8932 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/1.266, allocations: 411.2 kB / 0.8936 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of SimCode: time 1.723e-06/1.266, allocations: 0 / 0.8936 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08578/1.351, allocations: 25.57 MB / 0.9186 GB, free: 13.05 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/17.18, allocations: 4.062 kB / 0.9186 GB, free: 13.04 MB / 0.67 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.507512468844652]