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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00797/0.00797, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6312/0.6312, allocations: 91.2 MB / 381.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 75.88 kB / 0.5164 GB, free: 9.523 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1477, allocations: 67.68 MB / 0.5825 GB, free: 5.758 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3691/0.5169, allocations: 76.53 MB / 0.6572 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.5304, allocations: 10.11 MB / 0.6671 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.532, allocations: 67.62 kB / 0.6672 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.5341, allocations: 0.6914 MB / 0.6678 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008064/0.5423, allocations: 2.963 MB / 0.6707 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.5461, allocations: 1.461 MB / 0.6722 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003298/0.5494, allocations: 2.243 MB / 0.6743 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5505, allocations: 0.5386 MB / 0.6749 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007187/0.5577, allocations: 3.93 MB / 0.6787 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.5593, allocations: 0.8867 MB / 0.6796 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003635/0.5597, allocations: 136 kB / 0.6797 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008068/0.5677, allocations: 4.317 MB / 0.6839 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004367/0.5682, allocations: 342.6 kB / 0.6842 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.5695, allocations: 0.8082 MB / 0.685 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006118/0.5757, allocations: 2.807 MB / 0.6878 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5757, allocations: 4 kB / 0.6878 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5757, allocations: 3.938 kB / 0.6878 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.73e-05/0.5758, allocations: 0 / 0.6878 GB, free: 12.63 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004858/0.5806, allocations: 2.28 MB / 0.69 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5807, allocations: 8.031 kB / 0.69 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.5809, allocations: 173.8 kB / 0.6902 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.583, allocations: 318.6 kB / 0.6905 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.5852, allocations: 1.081 MB / 0.6915 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.46e-05/0.5853, allocations: 90.19 kB / 0.6916 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.5855, allocations: 123.9 kB / 0.6917 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.5884, allocations: 1.29 MB / 0.693 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.037e-05/0.5885, allocations: 3.938 kB / 0.693 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.5887, allocations: 51.98 kB / 0.6931 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.673e-05/0.5888, allocations: 58.17 kB / 0.6931 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.5913, allocations: 1.063 MB / 0.6942 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007953/0.5993, allocations: 5.531 MB / 0.6996 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.6015, allocations: 1.086 MB / 0.7006 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.6025, allocations: 0.5627 MB / 0.7012 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.6042, allocations: 2.408 MB / 0.7035 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.6042, allocations: 43.5 kB / 0.7036 GB, free: 11.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 2.655e-06/0.6042, allocations: 0 / 0.7036 GB, free: 11.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.008741/0.613, allocations: 3.724 MB / 0.7072 GB, free: 7.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.613, allocations: 64.41 kB / 0.7073 GB, free: 7.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.6143, allocations: 1.003 MB / 0.7082 GB, free: 6.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/0.6144, allocations: 41.7 kB / 0.7083 GB, free: 6.242 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.6148, allocations: 0.6273 MB / 0.7089 GB, free: 5.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.6151, allocations: 384.7 kB / 0.7093 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.6154, allocations: 186.9 kB / 0.7094 GB, free: 5.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6155, allocations: 349.9 kB / 0.7098 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007594/0.6163, allocations: 390.4 kB / 0.7101 GB, free: 4.312 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000961/0.6173, allocations: 0.53 MB / 0.7107 GB, free: 3.734 MB / 0.545 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.002056/0.6193, allocations: 1.23 MB / 0.7119 GB, free: 2.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6194, allocations: 0 / 0.7119 GB, free: 2.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002803/0.6222, allocations: 1.397 MB / 0.7132 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6222, allocations: 14.64 kB / 0.7132 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6222, allocations: 4 kB / 0.7132 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008702/0.6231, allocations: 238.4 kB / 0.7135 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/0.6239, allocations: 223.7 kB / 0.7137 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005868/0.6298, allocations: 5.749 MB / 0.7193 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/0.6306, allocations: 40.02 kB / 0.7193 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.6308, allocations: 47.97 kB / 0.7194 GB, free: 10.26 MB / 0.5606 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: 15 * 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 (109): * Single equations (assignments): 106 * 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,15,77.8%), (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.0005409/0.6313, allocations: 301.5 kB / 0.7197 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.6316, allocations: 143.1 kB / 0.7198 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.635, allocations: 1.551 MB / 0.7213 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.635, allocations: 15.88 kB / 0.7213 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6351, allocations: 8 kB / 0.7213 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6351, allocations: 7.969 kB / 0.7213 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006121/0.6412, allocations: 3.849 MB / 0.7251 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.6412, allocations: 8.031 kB / 0.7251 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/0.6421, allocations: 199.6 kB / 0.7253 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008287/0.6429, allocations: 256.3 kB / 0.7255 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.643, allocations: 39.97 kB / 0.7256 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005949/0.649, allocations: 5.77 MB / 0.7312 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.551e-05/0.6491, allocations: 4 kB / 0.7312 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.6531, allocations: 1.999 MB / 0.7332 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.6535, allocations: 208.2 kB / 0.7334 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.6537, allocations: 28 kB / 0.7334 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007559/0.6544, allocations: 47.95 kB / 0.7334 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.6547, allocations: 100.7 kB / 0.7335 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.6548, allocations: 43.97 kB / 0.7336 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009852/0.6558, allocations: 0.6719 MB / 0.7342 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6558, allocations: 0 / 0.7342 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001844/0.6576, allocations: 0.5188 MB / 0.7347 GB, free: 9.664 MB / 0.5762 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.005458/0.6631, allocations: 3.012 MB / 0.7377 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003159/0.6663, allocations: 1.465 MB / 0.7391 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.6663, allocations: 4 kB / 0.7391 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.6682, allocations: 1.03 MB / 0.7401 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.6701, allocations: 374.4 kB / 0.7405 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/0.6884, allocations: 10.86 MB / 0.7511 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.6895, allocations: 1.222 MB / 0.7523 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001127/0.6906, allocations: 345.9 kB / 0.7526 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008374/0.6915, allocations: 0.5929 MB / 0.7532 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/0.6915, allocations: 4 kB / 0.7532 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/0.8223, allocations: 39.11 MB / 0.7914 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.86, allocations: 5.281 kB / 0.7914 GB, free: 15.55 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches