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.0009726/0.0009726, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001359/0.001359, allocations: 165 kB / 23.02 MB, free: 1.551 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 0.9722/0.9722, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.6817/0.6817, allocations: 118.6 MB / 378.6 MB, free: 1.535 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 1.553e-06/1.553e-06, allocations: 0 / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.483e-05, allocations: 9.125 kB / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.009609/0.009634, allocations: 11.86 MB / 495.5 MB, free: 380 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.01387, allocations: 2.357 MB / 497.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.01502, allocations: 123.2 kB / 497.9 MB, free: 14.65 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007473/0.01577, allocations: 325 kB / 498.3 MB, free: 14.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003833/0.0196, allocations: 1.632 MB / 499.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.0209, allocations: 0.5589 MB / 0.4887 GB, free: 13.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.0242, allocations: 2.747 MB / 0.4914 GB, free: 11.83 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008251/0.02503, allocations: 334.5 kB / 0.4917 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004623/0.02965, allocations: 1.788 MB / 0.4935 GB, free: 10.38 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.03128, allocations: 0.7907 MB / 0.4942 GB, free: 9.754 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004536/0.03173, allocations: 136 kB / 0.4944 GB, free: 9.621 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.03441, allocations: 1.23 MB / 0.4956 GB, free: 8.676 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.03478, allocations: 375.6 kB / 0.4959 GB, free: 8.363 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.03595, allocations: 0.5952 MB / 0.4965 GB, free: 7.816 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.03921, allocations: 1.838 MB / 0.4983 GB, free: 6.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.03921, allocations: 4 kB / 0.4983 GB, free: 6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03921, allocations: 0 / 0.4983 GB, free: 6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.046e-05/0.03925, allocations: 0 / 0.4983 GB, free: 6 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.003301/0.04255, allocations: 2.276 MB / 0.5005 GB, free: 3.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.0426, allocations: 12.03 kB / 0.5005 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.04443, allocations: 0.5146 MB / 0.501 GB, free: 3.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.0464, allocations: 1.187 MB / 0.5022 GB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.04648, allocations: 86.7 kB / 0.5023 GB, free: 1.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.04667, allocations: 143.9 kB / 0.5024 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.04879, allocations: 1.124 MB / 0.5035 GB, free: 484 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.04881, allocations: 8 kB / 0.5035 GB, free: 476 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-05/0.04891, allocations: 48 kB / 0.5036 GB, free: 428 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.04898, allocations: 50.31 kB / 0.5036 GB, free: 376 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004612/0.05359, allocations: 0.5833 MB / 0.5042 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.06601, allocations: 4.167 MB / 0.5083 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.06746, allocations: 0.6005 MB / 0.5089 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/0.07115, allocations: 359 kB / 0.5092 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.07135, allocations: 60.95 kB / 0.5093 GB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.0714, allocations: 42.39 kB / 0.5093 GB, free: 10.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 5.961e-06/0.07141, allocations: 0 / 0.5093 GB, free: 10.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.008001/0.07941, allocations: 2.365 MB / 0.5116 GB, free: 8.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.07945, allocations: 64.41 kB / 0.5117 GB, free: 7.941 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004047/0.0835, allocations: 0.9667 MB / 0.5126 GB, free: 6.969 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.08356, allocations: 49.64 kB / 0.5127 GB, free: 6.914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004784/0.08404, allocations: 0.7555 MB / 0.5134 GB, free: 6.152 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.08429, allocations: 384.7 kB / 0.5138 GB, free: 5.773 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.08457, allocations: 208.5 kB / 0.514 GB, free: 5.559 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.08472, allocations: 0.5199 MB / 0.5145 GB, free: 5.031 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.08513, allocations: 202.5 kB / 0.5147 GB, free: 4.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.08564, allocations: 404.9 kB / 0.515 GB, free: 4.371 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: 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.004191/0.08983, allocations: 0.6967 MB / 0.5157 GB, free: 3.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.08984, allocations: 3.938 kB / 0.5157 GB, free: 3.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001916/0.09176, allocations: 1.066 MB / 0.5168 GB, free: 2.523 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.09178, allocations: 8 kB / 0.5168 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.09179, allocations: 4 kB / 0.5168 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/0.09249, allocations: 226.8 kB / 0.517 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.09314, allocations: 223.7 kB / 0.5172 GB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004445/0.09759, allocations: 6.336 MB / 0.5234 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.09827, allocations: 39.98 kB / 0.5234 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.09836, allocations: 47.98 kB / 0.5235 GB, free: 11.27 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: 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.0004194/0.09878, allocations: 220.3 kB / 0.5237 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.09907, allocations: 190.9 kB / 0.5239 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.1011, allocations: 1.178 MB / 0.525 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.1011, allocations: 12 kB / 0.525 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1011, allocations: 4 kB / 0.525 GB, free: 9.641 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.1011, allocations: 11.97 kB / 0.5251 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.1048, allocations: 2.318 MB / 0.5273 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1048, allocations: 4 kB / 0.5273 GB, free: 7.215 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.1053, allocations: 187.8 kB / 0.5275 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/0.1058, allocations: 241.7 kB / 0.5277 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.596e-05/0.1058, allocations: 43.97 kB / 0.5278 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.1093, allocations: 6.337 MB / 0.534 GB, free: 40 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1093, allocations: 4 kB / 0.534 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.1114, allocations: 1.477 MB / 0.5354 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.1118, allocations: 222.9 kB / 0.5356 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1119, allocations: 31.94 kB / 0.5356 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.1122, allocations: 39.97 kB / 0.5357 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.1124, allocations: 100.8 kB / 0.5358 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.1125, allocations: 47.97 kB / 0.5358 GB, free: 14.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005593/0.1131, allocations: 0.5905 MB / 0.5364 GB, free: 13.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1131, allocations: 0 / 0.5364 GB, free: 13.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001022/0.1141, allocations: 455.7 kB / 0.5368 GB, free: 13.01 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.0004402/0.1145, allocations: 286.5 kB / 0.5371 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.1161, allocations: 1.308 MB / 0.5384 GB, free: 11.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1161, allocations: 0 / 0.5384 GB, free: 11.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009199/0.117, allocations: 1.009 MB / 0.5394 GB, free: 10.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.1186, allocations: 0.5598 MB / 0.5399 GB, free: 9.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.1227, allocations: 2.928 MB / 0.5428 GB, free: 6.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1229, allocations: 298.1 kB / 0.5431 GB, free: 6.434 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007907/0.1237, allocations: 346 kB / 0.5434 GB, free: 6.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.124, allocations: 140.4 kB / 0.5435 GB, free: 5.949 MB / 474.7 MB Notification: Performance of SimCode: time 1.573e-06/0.124, allocations: 0 / 0.5435 GB, free: 5.949 MB / 474.7 MB Notification: Performance of Templates: time 0.03035/0.1544, allocations: 24.83 MB / 0.5678 GB, free: 13.57 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.560480816755444]