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.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.001149/0.001149, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001141/0.001141, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5662/0.5662, allocations: 94.59 MB / 399 MB, free: 15.77 MB / 334.1 MB " [Timeout remaining time 179] 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_dev_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 91.84 kB / 0.5442 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3211, allocations: 71.84 MB / 0.6144 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.08394/0.405, allocations: 77.57 MB / 0.6901 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.4188, allocations: 10.26 MB / 0.7001 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.4203, allocations: 75.56 kB / 0.7002 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.4224, allocations: 0.7143 MB / 0.7009 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00776/0.4302, allocations: 2.987 MB / 0.7038 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.434, allocations: 1.472 MB / 0.7053 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003254/0.4372, allocations: 2.315 MB / 0.7075 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/0.438, allocations: 347.1 kB / 0.7079 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007066/0.445, allocations: 3.985 MB / 0.7117 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.4465, allocations: 0.9178 MB / 0.7126 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.4469, allocations: 139.9 kB / 0.7128 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007977/0.4549, allocations: 4.375 MB / 0.717 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.4553, allocations: 354.5 kB / 0.7174 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.4564, allocations: 0.8082 MB / 0.7182 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005319/0.4617, allocations: 2.834 MB / 0.7209 GB, free: 7.617 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4617, allocations: 0 / 0.7209 GB, free: 7.617 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4617, allocations: 0 / 0.7209 GB, free: 7.617 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.4617, allocations: 4 kB / 0.7209 GB, free: 7.613 MB / 0.545 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.003941/0.4657, allocations: 2.307 MB / 0.7232 GB, free: 5.246 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4657, allocations: 8.031 kB / 0.7232 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.4659, allocations: 173.5 kB / 0.7234 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.4677, allocations: 330.6 kB / 0.7237 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.4694, allocations: 1.109 MB / 0.7248 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-05/0.4695, allocations: 94.23 kB / 0.7249 GB, free: 3.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.4697, allocations: 127.9 kB / 0.725 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.472, allocations: 1.286 MB / 0.7262 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.4721, allocations: 11.94 kB / 0.7263 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4722, allocations: 51.94 kB / 0.7263 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/0.4722, allocations: 50.23 kB / 0.7263 GB, free: 1.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.4745, allocations: 1.067 MB / 0.7274 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00709/0.4816, allocations: 5.536 MB / 0.7328 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.4835, allocations: 1.03 MB / 0.7338 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000928/0.4845, allocations: 0.5185 MB / 0.7343 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.486, allocations: 2.412 MB / 0.7367 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4861, allocations: 47.56 kB / 0.7367 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 2.635e-06/0.4861, allocations: 3.938 kB / 0.7367 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.007805/0.4939, allocations: 3.718 MB / 0.7403 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4939, allocations: 64.41 kB / 0.7404 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.4951, allocations: 1.029 MB / 0.7414 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.4952, allocations: 45.7 kB / 0.7415 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.4957, allocations: 0.6353 MB / 0.7421 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.496, allocations: 384.7 kB / 0.7424 GB, free: 200 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.4963, allocations: 190.9 kB / 0.7426 GB, free: 4 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4964, allocations: 349.9 kB / 0.743 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/0.4972, allocations: 394.4 kB / 0.7433 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/0.4981, allocations: 0.5261 MB / 0.7438 GB, free: 14.7 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.001965/0.5001, allocations: 1.222 MB / 0.745 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5001, allocations: 3.938 kB / 0.745 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002652/0.5027, allocations: 1.389 MB / 0.7464 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5028, allocations: 10.5 kB / 0.7464 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5028, allocations: 8.078 kB / 0.7464 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007052/0.5035, allocations: 238.3 kB / 0.7466 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.5043, allocations: 223.7 kB / 0.7469 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.5098, allocations: 5.754 MB / 0.7525 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.5104, allocations: 40.02 kB / 0.7525 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/0.5105, allocations: 47.97 kB / 0.7526 GB, free: 5.227 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.000508/0.511, allocations: 301.6 kB / 0.7528 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.5113, allocations: 155 kB / 0.753 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.5143, allocations: 1.537 MB / 0.7545 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.5143, allocations: 12 kB / 0.7545 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5143, allocations: 4 kB / 0.7545 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.5143, allocations: 7.969 kB / 0.7545 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/0.5199, allocations: 3.869 MB / 0.7583 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5199, allocations: 0 / 0.7583 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008159/0.5207, allocations: 195.7 kB / 0.7585 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006671/0.5214, allocations: 256.6 kB / 0.7587 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.519e-05/0.5214, allocations: 43.97 kB / 0.7588 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/0.527, allocations: 5.767 MB / 0.7644 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.527, allocations: 0 / 0.7644 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.5305, allocations: 1.992 MB / 0.7663 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.5307, allocations: 212.1 kB / 0.7666 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.5309, allocations: 24 kB / 0.7666 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.5315, allocations: 55.94 kB / 0.7666 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.5316, allocations: 96.73 kB / 0.7667 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.5317, allocations: 51.97 kB / 0.7668 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008518/0.5326, allocations: 0.6886 MB / 0.7674 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5326, allocations: 0 / 0.7674 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001422/0.534, allocations: 0.5149 MB / 0.7679 GB, free: 4.609 MB / 0.5919 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.004469/0.5385, allocations: 2.989 MB / 0.7709 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002623/0.5411, allocations: 1.414 MB / 0.7722 GB, free: 108 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5411, allocations: 8.562 kB / 0.7723 GB, free: 100 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.5427, allocations: 0.9977 MB / 0.7732 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.5442, allocations: 380.6 kB / 0.7736 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.5601, allocations: 10.95 MB / 0.7843 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.5609, allocations: 1.23 MB / 0.7855 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008769/0.5618, allocations: 353.3 kB / 0.7858 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008165/0.5626, allocations: 0.6086 MB / 0.7864 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/0.5626, allocations: 0 / 0.7864 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08654/0.6492, allocations: 39.84 MB / 0.8253 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.94, allocations: 3.266 kB / 0.8253 GB, free: 9.711 MB / 0.6544 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 14.946798417004175]