Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001428/0.001428, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001636/0.001636, allocations: 173 kB / 23.49 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.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7454/0.7454, allocations: 118.6 MB / 378.9 MB, free: 1.469 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Processes.Tests.ConductionElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.155e-06/2.155e-06, allocations: 0 / 483.6 MB, free: 8.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.988e-05, allocations: 7.953 kB / 483.6 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.06369/0.06372, allocations: 85.19 MB / 0.5555 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006749/0.07047, allocations: 5.511 MB / 0.5609 GB, free: 6.102 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009706/0.07144, allocations: 115.1 kB / 0.561 GB, free: 5.988 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.07289, allocations: 0.6785 MB / 0.5616 GB, free: 5.305 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.07868, allocations: 3.249 MB / 0.5648 GB, free: 2.039 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.08138, allocations: 1.58 MB / 0.5663 GB, free: 464 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002113/0.0835, allocations: 2.752 MB / 0.569 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.08394, allocations: 328 kB / 0.5693 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005056/0.08899, allocations: 4.609 MB / 0.5738 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.08978, allocations: 0.7906 MB / 0.5746 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.08994, allocations: 140 kB / 0.5748 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004709/0.09465, allocations: 4.277 MB / 0.5789 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.09488, allocations: 378.4 kB / 0.5793 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.09535, allocations: 0.5961 MB / 0.5799 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.09823, allocations: 2.585 MB / 0.5824 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09823, allocations: 0 / 0.5824 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.273e-06/0.09824, allocations: 0 / 0.5824 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.09825, allocations: 0 / 0.5824 GB, free: 15.93 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.002667/0.1009, allocations: 2.442 MB / 0.5848 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.101, allocations: 8.031 kB / 0.5848 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.1025, allocations: 0.5108 MB / 0.5853 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.1039, allocations: 1.191 MB / 0.5865 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.1039, allocations: 102.6 kB / 0.5866 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1041, allocations: 135.8 kB / 0.5867 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.1056, allocations: 1.128 MB / 0.5878 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1056, allocations: 0 / 0.5878 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.1057, allocations: 48 kB / 0.5878 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/0.1057, allocations: 50.33 kB / 0.5879 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1069, allocations: 0.5833 MB / 0.5884 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.1112, allocations: 4.182 MB / 0.5925 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.1123, allocations: 0.5915 MB / 0.5931 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.1128, allocations: 353.4 kB / 0.5934 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.1132, allocations: 184.9 kB / 0.5936 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.1132, allocations: 46.39 kB / 0.5937 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 2.524e-06/0.1132, allocations: 3.938 kB / 0.5937 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=103): time 0.00392/0.1171, allocations: 2.36 MB / 0.596 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1172, allocations: 68.34 kB / 0.596 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.118, allocations: 0.9628 MB / 0.597 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.118, allocations: 49.7 kB / 0.597 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.1184, allocations: 0.7634 MB / 0.5978 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.1186, allocations: 384.7 kB / 0.5981 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.1188, allocations: 208.5 kB / 0.5983 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1189, allocations: 0.516 MB / 0.5988 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.1193, allocations: 198.5 kB / 0.599 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.1197, allocations: 404.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.0009327/0.1206, allocations: 0.6893 MB / 0.6001 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1206, 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.001436/0.1221, allocations: 1.077 MB / 0.6011 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1221, allocations: 8 kB / 0.6012 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1221, allocations: 8.125 kB / 0.6012 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.1226, allocations: 225.4 kB / 0.6014 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.1231, allocations: 231.7 kB / 0.6016 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.1265, allocations: 6.326 MB / 0.6078 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.1268, allocations: 31.98 kB / 0.6078 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/0.1269, allocations: 51.97 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.000265/0.1272, allocations: 228.3 kB / 0.6081 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.1273, allocations: 187 kB / 0.6082 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.1289, allocations: 1.179 MB / 0.6094 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1289, allocations: 12 kB / 0.6094 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1289, allocations: 4 kB / 0.6094 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.129, allocations: 7.969 kB / 0.6094 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.1318, allocations: 2.322 MB / 0.6117 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1318, allocations: 4 kB / 0.6117 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.1322, allocations: 191.7 kB / 0.6119 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004857/0.1327, allocations: 245.4 kB / 0.6121 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/0.1328, allocations: 39.97 kB / 0.6121 GB, free: 396 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/0.136, allocations: 6.337 MB / 0.6183 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.136, allocations: 4 kB / 0.6183 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.1378, allocations: 1.481 MB / 0.6198 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.1381, allocations: 226.8 kB / 0.62 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/0.1382, allocations: 28 kB / 0.62 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.1385, allocations: 31.98 kB / 0.6201 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.1387, allocations: 104.7 kB / 0.6202 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.1387, allocations: 47.97 kB / 0.6202 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000532/0.1392, allocations: 0.5944 MB / 0.6208 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.1392, allocations: 0 / 0.6208 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001063/0.1403, allocations: 0.5423 MB / 0.6213 GB, free: 6.547 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.0007094/0.141, allocations: 0.569 MB / 0.6219 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.1424, allocations: 1.3 MB / 0.6231 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1424, allocations: 0 / 0.6231 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008644/0.1433, allocations: 1.02 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.001371/0.1447, allocations: 0.5576 MB / 0.6247 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.1481, allocations: 2.933 MB / 0.6275 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.1483, allocations: 294.2 kB / 0.6278 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005868/0.1489, allocations: 342 kB / 0.6282 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.1492, allocations: 144.4 kB / 0.6283 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.1492, allocations: 0 / 0.6283 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.1979/0.3471, allocations: 28.79 MB / 0.6564 GB, free: 160.7 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.847205850994214]