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.0009771/0.0009771, allocations: 93.06 kB / 19.65 MB, free: 276 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.001094/0.001094, allocations: 169 kB / 23.02 MB, free: 1.543 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.95/0.95, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.6747/0.6747, allocations: 118.7 MB / 378.6 MB, free: 1.461 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 2.594e-06/2.594e-06, allocations: 0 / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.93e-05/4.19e-05, allocations: 10.45 kB / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.01604/0.01608, allocations: 11.86 MB / 495.5 MB, free: 376 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007931/0.02402, allocations: 2.354 MB / 497.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.02655, allocations: 122.3 kB / 498 MB, free: 14.65 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.02767, allocations: 321.9 kB / 498.3 MB, free: 14.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005155/0.03283, allocations: 1.642 MB / 499.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.03463, allocations: 0.5593 MB / 0.4887 GB, free: 13.24 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004669/0.0393, allocations: 2.728 MB / 0.4914 GB, free: 11.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.04004, allocations: 342 kB / 0.4917 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/0.04417, allocations: 1.825 MB / 0.4935 GB, free: 10.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.04556, allocations: 0.8208 MB / 0.4943 GB, free: 9.691 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003954/0.04596, allocations: 136 kB / 0.4944 GB, free: 9.559 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.04825, allocations: 1.218 MB / 0.4956 GB, free: 8.625 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.04856, allocations: 375.2 kB / 0.496 GB, free: 8.312 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007087/0.04927, allocations: 0.6 MB / 0.4966 GB, free: 7.723 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.05186, allocations: 1.829 MB / 0.4984 GB, free: 5.887 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.05186, allocations: 0 / 0.4984 GB, free: 5.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.05186, allocations: 4 kB / 0.4984 GB, free: 5.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.476e-05/0.05192, allocations: 3.938 kB / 0.4984 GB, free: 5.879 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.003106/0.05502, allocations: 2.28 MB / 0.5006 GB, free: 3.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.05507, allocations: 8.031 kB / 0.5006 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.05645, allocations: 0.5108 MB / 0.5011 GB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.05807, allocations: 1.191 MB / 0.5023 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.05813, allocations: 94.69 kB / 0.5024 GB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.05828, allocations: 135.9 kB / 0.5025 GB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.0599, allocations: 1.124 MB / 0.5036 GB, free: 360 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.05992, allocations: 0 / 0.5036 GB, free: 360 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.06, allocations: 55.98 kB / 0.5036 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.06005, allocations: 50.31 kB / 0.5037 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.06115, allocations: 0.5795 MB / 0.5043 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/0.06598, allocations: 4.17 MB / 0.5083 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.06715, allocations: 0.5943 MB / 0.5089 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.06764, allocations: 351 kB / 0.5092 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.06778, allocations: 64.89 kB / 0.5093 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.06781, allocations: 46.39 kB / 0.5093 GB, free: 10.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.857e-06/0.06782, allocations: 0 / 0.5093 GB, free: 10.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.003791/0.07161, allocations: 2.365 MB / 0.5117 GB, free: 7.902 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.07164, allocations: 64.34 kB / 0.5117 GB, free: 7.824 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.07246, allocations: 0.9667 MB / 0.5127 GB, free: 6.852 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.07252, allocations: 45.7 kB / 0.5127 GB, free: 6.801 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.07289, allocations: 0.7555 MB / 0.5134 GB, free: 6.039 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.0731, allocations: 388.7 kB / 0.5138 GB, free: 5.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.07332, allocations: 212.5 kB / 0.514 GB, free: 5.438 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.07346, allocations: 0.5199 MB / 0.5145 GB, free: 4.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.07379, allocations: 202.5 kB / 0.5147 GB, free: 4.715 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.0742, allocations: 408.9 kB / 0.5151 GB, free: 4.246 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.0009168/0.07512, allocations: 0.6834 MB / 0.5158 GB, free: 3.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.07513, allocations: 8.219 kB / 0.5158 GB, free: 3.492 MB / 442.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001419/0.07655, allocations: 1.061 MB / 0.5168 GB, free: 2.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.07657, allocations: 4 kB / 0.5168 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.07658, allocations: 4 kB / 0.5168 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005463/0.07712, allocations: 229.7 kB / 0.517 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.07761, allocations: 223.7 kB / 0.5173 GB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/0.08109, allocations: 6.335 MB / 0.5234 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.08146, allocations: 35.98 kB / 0.5235 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.08153, allocations: 47.98 kB / 0.5235 GB, free: 11.16 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.0002936/0.08182, allocations: 220.4 kB / 0.5237 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.08202, allocations: 190.9 kB / 0.5239 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.08356, allocations: 1.174 MB / 0.5251 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.08357, allocations: 16 kB / 0.5251 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.08358, allocations: 4 kB / 0.5251 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.08359, allocations: 7.969 kB / 0.5251 GB, free: 9.523 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.08649, allocations: 2.314 MB / 0.5274 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.0865, allocations: 0 / 0.5274 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.08694, allocations: 196 kB / 0.5275 GB, free: 6.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/0.08744, allocations: 241.3 kB / 0.5278 GB, free: 6.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.08751, allocations: 43.97 kB / 0.5278 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003345/0.09086, allocations: 6.346 MB / 0.534 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.09086, allocations: 0 / 0.534 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.09268, allocations: 1.481 MB / 0.5355 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.09299, allocations: 230.9 kB / 0.5357 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.09308, allocations: 28 kB / 0.5357 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.09339, allocations: 39.97 kB / 0.5357 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.09355, allocations: 104.7 kB / 0.5358 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/0.09361, allocations: 47.97 kB / 0.5359 GB, free: 13.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004902/0.0941, allocations: 0.5905 MB / 0.5365 GB, free: 13.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.0941, allocations: 0 / 0.5365 GB, free: 13.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009854/0.09509, allocations: 451.7 kB / 0.5369 GB, free: 12.89 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.0004306/0.09552, allocations: 294.3 kB / 0.5372 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.09697, allocations: 1.3 MB / 0.5384 GB, free: 11.24 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.09698, allocations: 4 kB / 0.5384 GB, free: 11.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008403/0.09782, allocations: 1.013 MB / 0.5394 GB, free: 10.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.09915, allocations: 0.553 MB / 0.54 GB, free: 9.652 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.1029, allocations: 2.929 MB / 0.5428 GB, free: 6.633 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1031, allocations: 286.2 kB / 0.5431 GB, free: 6.328 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006877/0.1038, allocations: 338.1 kB / 0.5434 GB, free: 5.992 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.1041, allocations: 148.3 kB / 0.5436 GB, free: 5.844 MB / 474.7 MB Notification: Performance of SimCode: time 1.512e-06/0.1041, allocations: 0 / 0.5436 GB, free: 5.844 MB / 474.7 MB Notification: Performance of Templates: time 0.03135/0.1354, allocations: 26.63 MB / 0.5696 GB, free: 11.71 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.461375698912889]