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.001539/0.001539, allocations: 89.06 kB / 19.64 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.001557/0.001557, allocations: 173 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.9165/0.9165, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7247/0.7247, allocations: 118.6 MB / 378.6 MB, free: 1.473 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 2.074e-06/2.074e-06, allocations: 0 / 483.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.082e-05, allocations: 4.984 kB / 483.6 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.01504/0.01508, allocations: 11.85 MB / 495.5 MB, free: 364 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005374/0.02045, allocations: 2.357 MB / 497.8 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.02214, allocations: 119.7 kB / 497.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009478/0.02308, allocations: 321.3 kB / 498.3 MB, free: 14.45 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005679/0.02876, allocations: 1.646 MB / 499.9 MB, free: 13.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.03056, allocations: 0.5509 MB / 0.4887 GB, free: 13.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004627/0.03519, allocations: 2.744 MB / 0.4914 GB, free: 11.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008437/0.03603, allocations: 338.8 kB / 0.4917 GB, free: 11.62 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004623/0.04066, allocations: 1.831 MB / 0.4935 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.04229, allocations: 0.8055 MB / 0.4943 GB, free: 9.691 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004386/0.04273, allocations: 136 kB / 0.4944 GB, free: 9.559 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.04554, allocations: 1.225 MB / 0.4956 GB, free: 8.617 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004159/0.04596, allocations: 387.2 kB / 0.496 GB, free: 8.293 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.04707, allocations: 0.5976 MB / 0.4966 GB, free: 7.742 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.05024, allocations: 1.825 MB / 0.4984 GB, free: 5.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.05024, allocations: 0 / 0.4984 GB, free: 5.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.05024, allocations: 0 / 0.4984 GB, free: 5.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.38e-05/0.05031, allocations: 0 / 0.4984 GB, free: 5.91 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.003204/0.05351, allocations: 2.276 MB / 0.5006 GB, free: 3.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.05356, allocations: 8.031 kB / 0.5006 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.05502, allocations: 0.5186 MB / 0.5011 GB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.05699, allocations: 1.195 MB / 0.5023 GB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/0.05706, allocations: 86.7 kB / 0.5024 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.05723, allocations: 135.9 kB / 0.5025 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.0589, allocations: 1.132 MB / 0.5036 GB, free: 384 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.05893, allocations: 0 / 0.5036 GB, free: 384 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/0.059, allocations: 52 kB / 0.5036 GB, free: 332 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.316e-05/0.05906, allocations: 50.31 kB / 0.5037 GB, free: 280 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.06031, allocations: 0.5833 MB / 0.5043 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005299/0.06561, allocations: 4.163 MB / 0.5083 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.06681, allocations: 0.5962 MB / 0.5089 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/0.06732, allocations: 359 kB / 0.5092 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.06747, allocations: 56.95 kB / 0.5093 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.06751, allocations: 54.33 kB / 0.5094 GB, free: 10.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.567e-06/0.06751, allocations: 0 / 0.5094 GB, free: 10.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.004707/0.07222, allocations: 2.365 MB / 0.5117 GB, free: 7.926 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.07226, allocations: 64.41 kB / 0.5117 GB, free: 7.848 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009553/0.07321, allocations: 0.9628 MB / 0.5127 GB, free: 6.879 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.07328, allocations: 53.58 kB / 0.5127 GB, free: 6.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.07372, allocations: 0.7555 MB / 0.5135 GB, free: 6.059 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.07396, allocations: 388.7 kB / 0.5138 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.07417, allocations: 208.5 kB / 0.514 GB, free: 5.461 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.07432, allocations: 0.516 MB / 0.5145 GB, free: 4.938 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.07464, allocations: 198.5 kB / 0.5147 GB, free: 4.746 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/0.07507, allocations: 408.9 kB / 0.5151 GB, free: 4.277 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.0009194/0.07599, allocations: 0.6891 MB / 0.5158 GB, free: 3.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.076, allocations: 7.938 kB / 0.5158 GB, free: 3.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001519/0.07752, allocations: 1.061 MB / 0.5168 GB, free: 2.438 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.07755, allocations: 8 kB / 0.5168 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.07757, allocations: 4 kB / 0.5168 GB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000674/0.07824, allocations: 230 kB / 0.5171 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.07876, allocations: 223.7 kB / 0.5173 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/0.08259, allocations: 6.336 MB / 0.5235 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/0.08315, allocations: 35.98 kB / 0.5235 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.08322, allocations: 47.98 kB / 0.5235 GB, free: 11.19 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.0003802/0.0836, allocations: 221.6 kB / 0.5237 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.08385, allocations: 187.1 kB / 0.5239 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.08542, allocations: 1.182 MB / 0.5251 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.08543, allocations: 8 kB / 0.5251 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.08544, allocations: 4 kB / 0.5251 GB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.08545, allocations: 7.984 kB / 0.5251 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.08875, allocations: 2.318 MB / 0.5274 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.08875, allocations: 4.344 kB / 0.5274 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.08923, allocations: 195.7 kB / 0.5276 GB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/0.08979, allocations: 243.6 kB / 0.5278 GB, free: 6.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.08988, allocations: 39.97 kB / 0.5278 GB, free: 6.656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003986/0.09387, allocations: 6.342 MB / 0.534 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.09387, allocations: 4 kB / 0.534 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.09597, allocations: 1.473 MB / 0.5355 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.09643, allocations: 231 kB / 0.5357 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.09655, allocations: 24 kB / 0.5357 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.09689, allocations: 43.97 kB / 0.5357 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.09708, allocations: 104.7 kB / 0.5358 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.09714, allocations: 47.97 kB / 0.5359 GB, free: 13.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006339/0.09778, allocations: 0.5944 MB / 0.5365 GB, free: 13.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.09778, allocations: 0 / 0.5365 GB, free: 13.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0013/0.09908, allocations: 451.7 kB / 0.5369 GB, free: 12.92 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.0004935/0.09957, allocations: 290.4 kB / 0.5372 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.1014, allocations: 1.3 MB / 0.5384 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.1014, allocations: 3.938 kB / 0.5385 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.1024, allocations: 1.009 MB / 0.5394 GB, free: 10.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.1039, allocations: 0.5498 MB / 0.54 GB, free: 9.684 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.1082, allocations: 2.932 MB / 0.5428 GB, free: 6.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1084, allocations: 294.2 kB / 0.5431 GB, free: 6.348 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008396/0.1093, allocations: 336 kB / 0.5434 GB, free: 6.016 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.1096, allocations: 148.4 kB / 0.5436 GB, free: 5.867 MB / 474.7 MB Notification: Performance of SimCode: time 1.954e-06/0.1096, allocations: 0 / 0.5436 GB, free: 5.867 MB / 474.7 MB Notification: Performance of Templates: time 0.03337/0.1429, allocations: 26.63 MB / 0.5696 GB, free: 11.71 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.30681966105476]