Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.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.001349/0.001349, allocations: 108.1 kB / 19.97 MB, free: 1.887 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.001426/0.001426, allocations: 184.1 kB / 23.29 MB, free: 5.004 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.451/1.451, allocations: 225.7 MB / 252.1 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7663/0.7663, allocations: 94.59 MB / 402 MB, free: 15.07 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-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: translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI.x|Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI.x|Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 85.66 kB / 0.5484 GB, free: 42.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1142, allocations: 71.88 MB / 0.6186 GB, free: 7.918 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase): time 0.04507/0.1593, allocations: 37.55 MB / 0.6553 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0501/0.2094, allocations: 39.68 MB / 0.694 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008938/0.2103, allocations: 27.81 kB / 0.6941 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.2119, allocations: 0.5555 MB / 0.6946 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.2231, allocations: 3.841 MB / 0.6984 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01185/0.235, allocations: 4.051 MB / 0.7023 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00214/0.2371, allocations: 1.299 MB / 0.7036 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004415/0.2376, allocations: 164.5 kB / 0.7037 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.2388, allocations: 0.5719 MB / 0.7043 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.2397, allocations: 0.5017 MB / 0.7048 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.2398, allocations: 68 kB / 0.7049 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0314/0.2712, allocations: 15.89 MB / 0.7204 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.2716, allocations: 179.2 kB / 0.7205 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007908/0.2724, allocations: 457.6 kB / 0.721 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04618/0.3186, allocations: 18.68 MB / 0.7392 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3186, allocations: 0 / 0.7392 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3186, allocations: 4 kB / 0.7392 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.293e-05/0.3186, allocations: 0 / 0.7392 GB, free: 12.04 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.01149/0.3301, allocations: 2.104 MB / 0.7413 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3301, allocations: 8.031 kB / 0.7413 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009763/0.3311, allocations: 191.3 kB / 0.7415 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.3323, allocations: 0.5648 MB / 0.742 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.3324, allocations: 53.25 kB / 0.7421 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.3325, allocations: 63.95 kB / 0.7421 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.3341, allocations: 0.777 MB / 0.7429 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.3341, allocations: 0 / 0.7429 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.3342, allocations: 24 kB / 0.7429 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/0.3342, allocations: 35.92 kB / 0.743 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.3357, allocations: 0.6187 MB / 0.7436 GB, free: 7.469 MB / 0.5762 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.00508/0.3408, allocations: 4.245 MB / 0.7477 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.342, allocations: 427.3 kB / 0.7481 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.3426, allocations: 266.5 kB / 0.7484 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2913/0.634, allocations: 7.06 MB / 0.7553 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.634, allocations: 37.88 kB / 0.7553 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.667e-06/0.634, allocations: 1.438 kB / 0.7553 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002574/0.6366, allocations: 1.006 MB / 0.7563 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.6366, allocations: 88.14 kB / 0.7564 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.6371, allocations: 448.2 kB / 0.7568 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.6371, allocations: 34.45 kB / 0.7568 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.6373, allocations: 352.9 kB / 0.7572 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.6375, allocations: 269.5 kB / 0.7574 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.6377, allocations: 123.5 kB / 0.7575 GB, free: 105 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.6378, allocations: 380.2 kB / 0.7579 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.6384, allocations: 243.8 kB / 0.7581 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.639, allocations: 328.4 kB / 0.7584 GB, free: 104.6 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system (0.0 = $START.conductionElementHEX_twoPhase.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.6403, allocations: 0.6833 MB / 0.7591 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.6403, allocations: 2.312 kB / 0.7591 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001483/0.6418, allocations: 0.7372 MB / 0.7598 GB, free: 104 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.6418, allocations: 5.25 kB / 0.7598 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6418, allocations: 3.562 kB / 0.7598 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.642, allocations: 47.23 kB / 0.7599 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.6425, allocations: 112.1 kB / 0.76 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009352/0.6434, allocations: 1.536 MB / 0.7615 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.6438, allocations: 71.78 kB / 0.7616 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.6439, allocations: 28.22 kB / 0.7616 GB, free: 102.5 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006484/0.6445, allocations: 373.9 kB / 0.7619 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005173/0.645, allocations: 322.7 kB / 0.7623 GB, free: 102.1 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system (0.0 = $START.conductionElementHEX_twoPhase.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001064/0.6461, allocations: 0.6522 MB / 0.7629 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.6461, allocations: 1.719 kB / 0.7629 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization_lambda0): time 0.001384/0.6475, allocations: 0.7199 MB / 0.7636 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.6475, allocations: 5.812 kB / 0.7636 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.6475, allocations: 4.25 kB / 0.7636 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.6476, allocations: 42.91 kB / 0.7636 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.6481, allocations: 110.3 kB / 0.7637 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008427/0.6489, allocations: 1.538 MB / 0.7652 GB, free: 99.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.6493, allocations: 63.22 kB / 0.7653 GB, free: 99.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.6493, allocations: 22.08 kB / 0.7653 GB, free: 99.89 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: conductionElementHEX_twoPhase.deltaE_system = $START.conductionElementHEX_twoPhase.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (multiSensor_Tpm.state.phase,multiSensor_Tpm.fore.state_forwards.phase,multiSensor_Tpm.rear.state_rearwards.phase,flowResistance.fore.state_forwards.phase,flowResistance.fore.state_rearwards.phase,boundary_rear.fore.state_forwards.phase,boundary_rear.fore.state_rearwards.phase,conductionElementHEX_twoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.6495, allocations: 219.8 kB / 0.7655 GB, free: 99.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.6496, allocations: 68.5 kB / 0.7656 GB, free: 99.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.6519, allocations: 1.159 MB / 0.7667 GB, free: 99.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.6519, allocations: 2.438 kB / 0.7667 GB, free: 99.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6519, allocations: 1.344 kB / 0.7667 GB, free: 99.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.6522, allocations: 223.8 kB / 0.767 GB, free: 99.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.973e-05/0.6522, allocations: 17.14 kB / 0.767 GB, free: 99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.6526, allocations: 35.86 kB / 0.767 GB, free: 98.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.6527, allocations: 45.03 kB / 0.767 GB, free: 98.99 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002466/0.6552, allocations: 1.102 MB / 0.7681 GB, free: 98.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002592/0.6578, allocations: 1.664 MB / 0.7697 GB, free: 97.73 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006946/0.6585, allocations: 401.3 kB / 0.7701 GB, free: 97.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004028/0.6589, allocations: 322.7 kB / 0.7704 GB, free: 97.44 MB / 0.5762 GB Notification: Performance of Backend: time 5.51e-07/0.6589, allocations: 0 / 0.7704 GB, free: 97.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.05961/0.7185, allocations: 16.48 MB / 0.7865 GB, free: 88.8 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0024/0.7209, allocations: 2.541 MB / 0.789 GB, free: 86.28 MB / 0.5762 GB Notification: Performance of Templates: time 0.06101/0.7819, allocations: 56.16 MB / 0.8439 GB, free: 31.54 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.HeatExchangers.Tests.ConductionElementTwoPhase.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: 13.505459132953547]