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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 105.9 kB / 16.45 MB, free: 6.508 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.001604/0.001604, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.626/1.626, allocations: 225.6 MB / 247.8 MB, free: 13.99 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.9665/0.9665, allocations: 94.59 MB / 397.3 MB, free: 0.7109 MB / 302.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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 87.28 kB / 0.5416 GB, free: 42.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2149, allocations: 71.86 MB / 0.6118 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.1109/0.3259, allocations: 76.99 MB / 0.687 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01883/0.3447, allocations: 10.2 MB / 0.6969 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.3473, allocations: 75.56 kB / 0.697 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.3501, allocations: 0.6987 MB / 0.6977 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.3614, allocations: 3.002 MB / 0.7006 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005389/0.3668, allocations: 1.468 MB / 0.702 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004848/0.3717, allocations: 2.315 MB / 0.7043 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007285/0.3724, allocations: 363.1 kB / 0.7046 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008603/0.381, allocations: 3.966 MB / 0.7085 GB, free: 6.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.3827, allocations: 0.9139 MB / 0.7094 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.3829, allocations: 136 kB / 0.7095 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009498/0.3924, allocations: 4.34 MB / 0.7138 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005251/0.3929, allocations: 358.5 kB / 0.7141 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.3943, allocations: 0.816 MB / 0.7149 GB, free: 148 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007024/0.4013, allocations: 2.834 MB / 0.7177 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.467e-05/0.4013, allocations: 0 / 0.7177 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4013, allocations: 0 / 0.7177 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.535e-05/0.4014, allocations: 0 / 0.7177 GB, free: 13.3 MB / 0.5606 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.005611/0.407, allocations: 2.299 MB / 0.7199 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.407, allocations: 8.031 kB / 0.7199 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002122/0.4072, allocations: 177.5 kB / 0.7201 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.4093, allocations: 330.6 kB / 0.7204 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.4116, allocations: 1.113 MB / 0.7215 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-05/0.4117, allocations: 90.25 kB / 0.7216 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004412/0.4121, allocations: 120 kB / 0.7217 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.4151, allocations: 1.298 MB / 0.723 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.4151, allocations: 4 kB / 0.723 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.4152, allocations: 55.92 kB / 0.723 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/0.4153, allocations: 54.17 kB / 0.7231 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.4179, allocations: 1.063 MB / 0.7241 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009341/0.4272, allocations: 5.536 MB / 0.7295 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.4297, allocations: 1.034 MB / 0.7305 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.4307, allocations: 0.5197 MB / 0.731 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/0.4329, allocations: 2.412 MB / 0.7334 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/0.433, allocations: 47.56 kB / 0.7334 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 3.647e-06/0.433, allocations: 0 / 0.7334 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103): time 0.009526/0.4425, allocations: 3.715 MB / 0.7371 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4426, allocations: 68.41 kB / 0.7371 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4439, allocations: 1.017 MB / 0.7381 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.685e-05/0.444, allocations: 49.64 kB / 0.7382 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006469/0.4447, allocations: 0.6393 MB / 0.7388 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.445, allocations: 384.7 kB / 0.7392 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/0.4453, allocations: 194.9 kB / 0.7394 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.4455, allocations: 349.8 kB / 0.7397 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/0.4464, allocations: 390.4 kB / 0.7401 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/0.4473, allocations: 0.53 MB / 0.7406 GB, free: 4.383 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: 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.002467/0.4498, allocations: 1.226 MB / 0.7418 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.4498, allocations: 4 kB / 0.7418 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002901/0.4527, allocations: 1.385 MB / 0.7431 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4527, allocations: 8 kB / 0.7431 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4527, allocations: 4 kB / 0.7431 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008944/0.4536, allocations: 239.3 kB / 0.7434 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.4545, allocations: 223.7 kB / 0.7436 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4632/0.9178, allocations: 5.736 MB / 0.7492 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.919, allocations: 37.61 kB / 0.7492 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.9191, allocations: 52.81 kB / 0.7493 GB, free: 124.5 MB / 0.5762 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.0007744/0.9199, allocations: 304.8 kB / 0.7496 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.9202, allocations: 146 kB / 0.7497 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/0.9236, allocations: 1.539 MB / 0.7512 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.9237, allocations: 11.75 kB / 0.7512 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.9237, allocations: 13.88 kB / 0.7512 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.9237, allocations: 5.859 kB / 0.7512 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00633/0.93, allocations: 3.868 MB / 0.755 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.93, allocations: 2.781 kB / 0.755 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/0.9308, allocations: 188.2 kB / 0.7552 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008516/0.9317, allocations: 256.5 kB / 0.7554 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.609e-05/0.9318, allocations: 50.16 kB / 0.7555 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/0.9372, allocations: 5.758 MB / 0.7611 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9372, allocations: 3.375 kB / 0.7611 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004856/0.9421, allocations: 1.992 MB / 0.7631 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/0.9426, allocations: 212.9 kB / 0.7633 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.9428, allocations: 31.17 kB / 0.7633 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/0.9435, allocations: 46.98 kB / 0.7633 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.9438, allocations: 98.98 kB / 0.7634 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.9439, allocations: 51.34 kB / 0.7635 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00121/0.9451, allocations: 0.6915 MB / 0.7642 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.9451, allocations: 0 / 0.7642 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00234/0.9474, allocations: 0.5107 MB / 0.7647 GB, free: 115.1 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.005858/0.9533, allocations: 3.003 MB / 0.7676 GB, free: 113.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003025/0.9563, allocations: 1.42 MB / 0.769 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.9563, allocations: 0 / 0.769 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.958, allocations: 0.9966 MB / 0.7699 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.9599, allocations: 383.3 kB / 0.7703 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.9755, allocations: 10.94 MB / 0.781 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.9761, allocations: 1.234 MB / 0.7822 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00117/0.9773, allocations: 347 kB / 0.7825 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/0.9779, allocations: 0.6047 MB / 0.7831 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.815e-06/0.9779, allocations: 0 / 0.7831 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3299/1.308, allocations: 39.73 MB / 0.8219 GB, free: 63.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.99, allocations: 3.094 kB / 0.8219 GB, free: 63.14 MB / 0.5762 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.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: 21.653848589863628]