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.0009899/0.0009899, allocations: 73.88 kB / 20.66 MB, free: 3.844 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: 169 kB / 24.06 MB, free: 456 kB / 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 0.9336/0.9336, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.6936/0.6936, allocations: 118.7 MB / 379.7 MB, free: 1.387 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 9.22e-07/9.22e-07, allocations: 0 / 484.8 MB, free: 8.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.865e-06/8.787e-06, allocations: 6.312 kB / 484.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.008749/0.008757, allocations: 11.71 MB / 496.6 MB, free: 248 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003894/0.01265, allocations: 2.349 MB / 498.9 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007351/0.01339, allocations: 122.3 kB / 499 MB, free: 14.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.014, allocations: 326.5 kB / 499.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.01708, allocations: 1.642 MB / 0.4892 GB, free: 13.4 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.0184, allocations: 0.5543 MB / 0.4898 GB, free: 13.11 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002736/0.02114, allocations: 2.74 MB / 0.4925 GB, free: 11.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005513/0.02169, allocations: 337.9 kB / 0.4928 GB, free: 11.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.02441, allocations: 1.83 MB / 0.4946 GB, free: 10.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000965/0.02537, allocations: 0.8128 MB / 0.4954 GB, free: 9.633 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.02555, allocations: 136 kB / 0.4955 GB, free: 9.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.02727, allocations: 1.226 MB / 0.4967 GB, free: 8.559 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.02755, allocations: 377.8 kB / 0.497 GB, free: 8.242 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005775/0.02813, allocations: 0.5883 MB / 0.4976 GB, free: 7.652 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.0302, allocations: 1.837 MB / 0.4994 GB, free: 5.809 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.0302, allocations: 4 kB / 0.4994 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.0302, allocations: 0 / 0.4994 GB, free: 5.805 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.03022, allocations: 0 / 0.4994 GB, free: 5.805 MB / 426.7 MB 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.002744/0.03296, allocations: 2.264 MB / 0.5016 GB, free: 3.496 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.03299, allocations: 16.02 kB / 0.5016 GB, free: 3.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.03469, allocations: 0.5069 MB / 0.5021 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.03623, allocations: 1.18 MB / 0.5033 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.03629, allocations: 90.7 kB / 0.5034 GB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.03646, allocations: 139.8 kB / 0.5035 GB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.03795, allocations: 1.042 MB / 0.5045 GB, free: 392 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.03798, allocations: 7.938 kB / 0.5045 GB, free: 384 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/0.03806, allocations: 48 kB / 0.5046 GB, free: 336 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.03811, allocations: 50.27 kB / 0.5046 GB, free: 284 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009945/0.03911, allocations: 459.7 kB / 0.5051 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.04406, allocations: 3.976 MB / 0.509 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.04514, allocations: 0.5457 MB / 0.5095 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/0.04558, allocations: 303 kB / 0.5098 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.04571, allocations: 56.95 kB / 0.5098 GB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.04574, allocations: 50.39 kB / 0.5099 GB, free: 10.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 2.434e-06/0.04574, allocations: 0 / 0.5099 GB, free: 10.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.003721/0.04946, allocations: 1.972 MB / 0.5118 GB, free: 8.758 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.0495, allocations: 60.41 kB / 0.5119 GB, free: 8.684 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.05029, allocations: 0.9543 MB / 0.5128 GB, free: 7.723 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.05035, allocations: 45.7 kB / 0.5128 GB, free: 7.672 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006933/0.05104, allocations: 0.7631 MB / 0.5136 GB, free: 6.902 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.05129, allocations: 388.6 kB / 0.514 GB, free: 6.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.05156, allocations: 212.4 kB / 0.5142 GB, free: 6.301 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.0517, allocations: 0.5237 MB / 0.5147 GB, free: 5.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.05197, allocations: 154.5 kB / 0.5148 GB, free: 5.621 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.05237, allocations: 379.9 kB / 0.5152 GB, free: 5.184 MB / 442.7 MB 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) 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: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.05319, allocations: 0.6031 MB / 0.5158 GB, free: 4.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.0532, allocations: 0 / 0.5158 GB, free: 4.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001425/0.05462, allocations: 0.9752 MB / 0.5167 GB, free: 3.523 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.05464, allocations: 4 kB / 0.5167 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.05464, allocations: 4 kB / 0.5167 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.05521, allocations: 222 kB / 0.5169 GB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.05582, allocations: 223.7 kB / 0.5172 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003723/0.05954, allocations: 6.212 MB / 0.5232 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.05983, allocations: 35.98 kB / 0.5233 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.05988, allocations: 39.98 kB / 0.5233 GB, free: 12.44 MB / 458.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement4.deltaE_system = $START.conductionElement4.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 {(1,2,100.0%), (4,14,75.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.06012, allocations: 224.1 kB / 0.5235 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.06031, allocations: 183 kB / 0.5237 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.0616, allocations: 1.104 MB / 0.5248 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.06161, allocations: 8 kB / 0.5248 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.06161, allocations: 8 kB / 0.5248 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.06162, allocations: 7.969 kB / 0.5248 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.06403, allocations: 2.05 MB / 0.5268 GB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.06403, allocations: 4 kB / 0.5268 GB, free: 8.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.06445, allocations: 187.7 kB / 0.527 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.0649, allocations: 242 kB / 0.5272 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003784/0.06527, allocations: 39.97 kB / 0.5272 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.06814, allocations: 6.225 MB / 0.5333 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.06815, allocations: 7.938 kB / 0.5333 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.06974, allocations: 1.36 MB / 0.5346 GB, free: 272 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.06998, allocations: 218.9 kB / 0.5349 GB, free: 52 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.07007, allocations: 31.98 kB / 0.5349 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.07037, allocations: 44 kB / 0.5349 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.07049, allocations: 100.7 kB / 0.535 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.07054, allocations: 39.97 kB / 0.5351 GB, free: 15.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003339/0.07087, allocations: 0.5551 MB / 0.5356 GB, free: 15.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07087, allocations: 0 / 0.5356 GB, free: 15.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007442/0.07162, allocations: 451.7 kB / 0.536 GB, free: 14.84 MB / 474.7 MB 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.0003385/0.07195, allocations: 282.4 kB / 0.5363 GB, free: 14.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.073, allocations: 1.226 MB / 0.5375 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.07301, allocations: 4 kB / 0.5375 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006995/0.07371, allocations: 0.9773 MB / 0.5385 GB, free: 12.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.07498, allocations: 0.5529 MB / 0.539 GB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.07828, allocations: 2.909 MB / 0.5418 GB, free: 8.715 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.07848, allocations: 290.2 kB / 0.5421 GB, free: 8.406 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000542/0.07902, allocations: 334.1 kB / 0.5424 GB, free: 8.074 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007415/0.07976, allocations: 0.5057 MB / 0.5429 GB, free: 7.566 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/0.07976, allocations: 0 / 0.5429 GB, free: 7.566 MB / 474.7 MB Notification: Performance of Templates: time 0.029/0.1088, allocations: 27.64 MB / 0.5699 GB, free: 12.41 MB / 0.4948 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.266674915794283]