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.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.001225/0.001225, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001115/0.001115, allocations: 170 kB / 23.27 MB, free: 1.223 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.9228/0.9228, allocations: 177.2 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6504/0.6504, allocations: 118.6 MB / 378.9 MB, free: 1.348 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Processes.Tests.ConductionElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 484.1 MB, free: 8.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.315e-05, allocations: 5.266 kB / 484.1 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.008416/0.008429, allocations: 11.72 MB / 495.8 MB, free: 248 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.01175, allocations: 2.354 MB / 498.1 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006076/0.01235, allocations: 121.6 kB / 498.2 MB, free: 14.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.01295, allocations: 322.2 kB / 498.6 MB, free: 14.33 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.01588, allocations: 1.649 MB / 0.4885 GB, free: 13.4 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.01685, allocations: 0.55 MB / 0.489 GB, free: 13.11 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002451/0.0193, allocations: 2.741 MB / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/0.01976, allocations: 334.4 kB / 0.492 GB, free: 11.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.02177, allocations: 1.832 MB / 0.4938 GB, free: 10.26 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000719/0.02249, allocations: 0.8093 MB / 0.4946 GB, free: 9.621 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.02262, allocations: 136 kB / 0.4947 GB, free: 9.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.02404, allocations: 1.231 MB / 0.4959 GB, free: 8.543 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.02427, allocations: 383.1 kB / 0.4963 GB, free: 8.207 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.02467, allocations: 0.5883 MB / 0.4969 GB, free: 7.617 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.02607, allocations: 1.829 MB / 0.4987 GB, free: 5.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.02607, allocations: 0 / 0.4987 GB, free: 5.781 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.02607, allocations: 0 / 0.4987 GB, free: 5.781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.02608, allocations: 0 / 0.4987 GB, free: 5.781 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.002155/0.02824, allocations: 2.268 MB / 0.5009 GB, free: 3.469 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.02827, allocations: 8.031 kB / 0.5009 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.02941, allocations: 0.5147 MB / 0.5014 GB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.03058, allocations: 1.176 MB / 0.5025 GB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.03064, allocations: 94.7 kB / 0.5026 GB, free: 1.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.03077, allocations: 143.8 kB / 0.5028 GB, free: 1.488 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.03193, allocations: 1.042 MB / 0.5038 GB, free: 360 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.03195, allocations: 3.938 kB / 0.5038 GB, free: 356 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.03201, allocations: 51.98 kB / 0.5038 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.03205, allocations: 46.33 kB / 0.5039 GB, free: 256 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/0.03275, allocations: 463.7 kB / 0.5043 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.03641, allocations: 3.976 MB / 0.5082 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/0.03723, allocations: 0.5416 MB / 0.5087 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.03756, allocations: 299 kB / 0.509 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.03769, allocations: 83.42 kB / 0.5091 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.03771, allocations: 46.39 kB / 0.5091 GB, free: 10.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 2.014e-06/0.03771, allocations: 0 / 0.5091 GB, free: 10.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.002745/0.04046, allocations: 1.968 MB / 0.5111 GB, free: 8.719 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.04049, allocations: 72.41 kB / 0.5111 GB, free: 8.633 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006123/0.0411, allocations: 0.9503 MB / 0.5121 GB, free: 7.676 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.04116, allocations: 45.7 kB / 0.5121 GB, free: 7.625 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.04155, allocations: 0.7709 MB / 0.5129 GB, free: 6.848 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.04176, allocations: 384.6 kB / 0.5132 GB, free: 6.469 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.04196, allocations: 208.5 kB / 0.5134 GB, free: 6.254 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.0421, allocations: 0.5237 MB / 0.5139 GB, free: 5.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.0423, allocations: 150.5 kB / 0.5141 GB, free: 5.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.04261, allocations: 376.7 kB / 0.5144 GB, free: 5.141 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.0006267/0.04324, allocations: 0.6054 MB / 0.515 GB, free: 4.473 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.04324, allocations: 4 kB / 0.515 GB, free: 4.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001076/0.04431, allocations: 0.9754 MB / 0.516 GB, free: 3.473 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.04433, allocations: 8 kB / 0.516 GB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.04434, allocations: 4 kB / 0.516 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/0.04477, allocations: 217.6 kB / 0.5162 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.04521, allocations: 223.7 kB / 0.5164 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.04839, allocations: 6.217 MB / 0.5225 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.04866, allocations: 31.98 kB / 0.5225 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.04871, allocations: 39.98 kB / 0.5226 GB, free: 12.39 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.0002486/0.04896, allocations: 220.3 kB / 0.5228 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.04914, allocations: 183 kB / 0.5229 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.0504, allocations: 1.104 MB / 0.524 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.0504, allocations: 12 kB / 0.524 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.05041, allocations: 4 kB / 0.524 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.05042, allocations: 7.969 kB / 0.524 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.05275, allocations: 2.062 MB / 0.526 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.05275, allocations: 0 / 0.526 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.05315, allocations: 187.8 kB / 0.5262 GB, free: 8.496 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.05356, allocations: 241.5 kB / 0.5265 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.05361, allocations: 39.97 kB / 0.5265 GB, free: 8.211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.05666, allocations: 6.225 MB / 0.5326 GB, free: 1.648 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.05666, allocations: 7.938 kB / 0.5326 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.05809, allocations: 1.356 MB / 0.5339 GB, free: 216 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.05834, allocations: 222.9 kB / 0.5341 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/0.05842, allocations: 28.19 kB / 0.5341 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.05869, allocations: 35.92 kB / 0.5342 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.0588, allocations: 108.7 kB / 0.5343 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.05885, allocations: 39.97 kB / 0.5343 GB, free: 15.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003441/0.05919, allocations: 0.5552 MB / 0.5349 GB, free: 15.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05919, allocations: 4 kB / 0.5349 GB, free: 15.22 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007845/0.05998, allocations: 451.7 kB / 0.5353 GB, free: 14.78 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.0003506/0.06033, allocations: 286.4 kB / 0.5356 GB, free: 14.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.06192, allocations: 1.23 MB / 0.5368 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.06192, allocations: 0 / 0.5368 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006875/0.06261, allocations: 0.9812 MB / 0.5377 GB, free: 12.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.06382, allocations: 0.5634 MB / 0.5383 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.06716, allocations: 2.901 MB / 0.5411 GB, free: 8.648 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.06738, allocations: 290.2 kB / 0.5414 GB, free: 8.344 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000567/0.06795, allocations: 338.1 kB / 0.5417 GB, free: 8.008 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/0.06871, allocations: 0.5018 MB / 0.5422 GB, free: 7.504 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/0.06871, allocations: 0 / 0.5422 GB, free: 7.504 MB / 474.7 MB Notification: Performance of Templates: time 0.05476/0.1235, allocations: 27.18 MB / 0.5687 GB, free: 12.86 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.288182284682989]