Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.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.0009638/0.0009638, allocations: 92.2 kB / 20.19 MB, free: 4.367 MB / 18.57 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.001008/0.001008, allocations: 173 kB / 23.5 MB, free: 1.059 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7092/0.7092, allocations: 118.7 MB / 378.9 MB, free: 1.531 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 483.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.68e-05, allocations: 5.719 kB / 483.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.07249/0.07252, allocations: 85.18 MB / 0.5555 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007219/0.07974, allocations: 5.507 MB / 0.5609 GB, free: 6.117 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007838/0.08052, allocations: 123 kB / 0.561 GB, free: 5.996 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.08207, allocations: 0.6786 MB / 0.5616 GB, free: 5.312 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005911/0.08798, allocations: 3.253 MB / 0.5648 GB, free: 2.043 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.09111, allocations: 1.573 MB / 0.5663 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.09328, allocations: 2.756 MB / 0.569 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.09372, allocations: 339.9 kB / 0.5694 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.09888, allocations: 4.609 MB / 0.5739 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.09959, allocations: 0.7829 MB / 0.5746 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.09974, allocations: 136 kB / 0.5748 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005664/0.1054, allocations: 4.281 MB / 0.5789 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000593/0.106, allocations: 382.4 kB / 0.5793 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.1065, allocations: 0.5961 MB / 0.5799 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002882/0.1093, allocations: 2.577 MB / 0.5824 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1094, allocations: 0 / 0.5824 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1094, allocations: 0 / 0.5824 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.1094, allocations: 4 kB / 0.5824 GB, free: 15.94 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.002633/0.112, allocations: 2.446 MB / 0.5848 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1121, allocations: 8.031 kB / 0.5848 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.1135, allocations: 0.5185 MB / 0.5853 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.1152, allocations: 1.187 MB / 0.5865 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.1153, allocations: 90.7 kB / 0.5866 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.1154, allocations: 139.8 kB / 0.5867 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.1169, allocations: 1.12 MB / 0.5878 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.1169, allocations: 0 / 0.5878 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/0.117, allocations: 48 kB / 0.5878 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/0.117, allocations: 58.25 kB / 0.5879 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1181, allocations: 0.5833 MB / 0.5885 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.1222, allocations: 4.194 MB / 0.5925 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.1233, allocations: 0.5876 MB / 0.5931 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/0.1242, allocations: 356.7 kB / 0.5935 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.1245, allocations: 180.9 kB / 0.5936 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.1245, allocations: 46.39 kB / 0.5937 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 2.124e-06/0.1245, allocations: 0 / 0.5937 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=103): time 0.003806/0.1283, allocations: 2.367 MB / 0.596 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1284, allocations: 60.41 kB / 0.596 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.1291, allocations: 0.9667 MB / 0.597 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.1292, allocations: 45.7 kB / 0.597 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.1296, allocations: 0.7634 MB / 0.5978 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.1298, allocations: 380.7 kB / 0.5981 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.13, allocations: 208.5 kB / 0.5983 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1301, allocations: 0.5121 MB / 0.5988 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.1304, allocations: 202.5 kB / 0.599 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.1309, allocations: 412.9 kB / 0.5994 GB, free: 14.01 MB / 0.5261 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system (0.0 = $START.conductionElement2.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.1321, allocations: 0.689 MB / 0.6001 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1321, allocations: 3.75 kB / 0.6001 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001404/0.1335, allocations: 1.073 MB / 0.6012 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1335, allocations: 4 kB / 0.6012 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1335, allocations: 4 kB / 0.6012 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.1341, allocations: 229.2 kB / 0.6014 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.1346, allocations: 227.7 kB / 0.6016 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/0.1383, allocations: 6.33 MB / 0.6078 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.1387, allocations: 35.98 kB / 0.6078 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.1388, allocations: 47.98 kB / 0.6079 GB, free: 4.918 MB / 0.5261 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (115): * Single equations (assignments): 112 * 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 {(4,14,75.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003314/0.1391, allocations: 224.2 kB / 0.6081 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.1393, allocations: 191 kB / 0.6083 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.1409, allocations: 1.179 MB / 0.6094 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.1409, allocations: 8 kB / 0.6094 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1409, allocations: 7.938 kB / 0.6094 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.141, allocations: 7.969 kB / 0.6094 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.1441, allocations: 2.326 MB / 0.6117 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1441, allocations: 4 kB / 0.6117 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.1445, allocations: 183.8 kB / 0.6119 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004996/0.145, allocations: 253.4 kB / 0.6121 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/0.1451, allocations: 35.97 kB / 0.6122 GB, free: 400 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.1484, allocations: 6.337 MB / 0.6183 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.1485, allocations: 7.938 kB / 0.6184 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.1502, allocations: 1.473 MB / 0.6198 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.1505, allocations: 230.8 kB / 0.62 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.1506, allocations: 31.98 kB / 0.62 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.1509, allocations: 31.98 kB / 0.6201 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.1511, allocations: 104.7 kB / 0.6202 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.1511, allocations: 51.97 kB / 0.6202 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004997/0.1516, allocations: 0.5945 MB / 0.6208 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.1516, allocations: 4 kB / 0.6208 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001096/0.1527, allocations: 0.5423 MB / 0.6213 GB, free: 6.539 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.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 (88): * Single equations (assignments): 85 * 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 {(4,14,75.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007363/0.1535, allocations: 0.5656 MB / 0.6219 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.1549, allocations: 1.305 MB / 0.6232 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1549, allocations: 0 / 0.6232 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000857/0.1557, allocations: 1.008 MB / 0.6241 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.1571, allocations: 0.5569 MB / 0.6247 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.1608, allocations: 2.94 MB / 0.6276 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.161, allocations: 290.2 kB / 0.6278 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006424/0.1616, allocations: 334 kB / 0.6282 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.1619, allocations: 148.4 kB / 0.6283 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/0.1619, allocations: 0 / 0.6283 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.2212/0.3832, allocations: 28.78 MB / 0.6564 GB, free: 160.8 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7960700208786875]