Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001073, allocations: 101 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01012/0.01012, allocations: 1.569 MB / 332.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7358/0.7358, allocations: 90.03 MB / 474 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.113e-05/2.11e-05, allocations: 0 / 0.5375 GB, free: 33.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1651, allocations: 69.37 MB / 0.6052 GB, free: 116 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6817/0.8469, allocations: 275.9 MB / 0.8746 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.8472, allocations: 83.02 kB / 0.8747 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.547/3.394, allocations: 0.6111 GB / 1.486 GB, free: 84.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/3.394, allocations: 0 / 1.486 GB, free: 84.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002306/3.394, allocations: 47.39 kB / 1.486 GB, free: 84.18 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.009848/3.404, allocations: 2.869 MB / 1.489 GB, free: 82.65 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/3.404, allocations: 11.31 kB / 1.489 GB, free: 82.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/3.407, allocations: 379.2 kB / 1.489 GB, free: 82.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/3.41, allocations: 0.9078 MB / 1.49 GB, free: 82.15 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/3.41, allocations: 48.16 kB / 1.49 GB, free: 82.15 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/3.41, allocations: 95 kB / 1.49 GB, free: 82.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001711/3.412, allocations: 0.8987 MB / 1.491 GB, free: 82.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/3.414, allocations: 1.265 MB / 1.492 GB, free: 81.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/3.414, allocations: 7.281 kB / 1.492 GB, free: 81.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.49e-05/3.414, allocations: 3.953 kB / 1.492 GB, free: 81.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/3.414, allocations: 46.78 kB / 1.492 GB, free: 81.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007344/3.421, allocations: 7.313 MB / 1.499 GB, free: 77.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/3.423, allocations: 1.047 MB / 1.5 GB, free: 76.88 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/3.423, allocations: 448.7 kB / 1.501 GB, free: 76.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/3.425, allocations: 2.654 MB / 1.503 GB, free: 73.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/3.425, allocations: 46.38 kB / 1.503 GB, free: 73.37 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 3.536e-06/3.425, allocations: 2.688 kB / 1.503 GB, free: 73.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.01519/3.44, allocations: 4.838 MB / 1.508 GB, free: 68.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/3.44, allocations: 64.72 kB / 1.508 GB, free: 68.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/3.441, allocations: 0.6851 MB / 1.509 GB, free: 67.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.897e-05/3.441, allocations: 27.73 kB / 1.509 GB, free: 67.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/3.441, allocations: 0.7219 MB / 1.51 GB, free: 67.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/3.442, allocations: 0.4926 MB / 1.51 GB, free: 66.54 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/3.442, allocations: 0 / 1.51 GB, free: 66.54 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001134/3.442, allocations: 361.9 kB / 1.51 GB, free: 66.18 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/3.443, allocations: 417.2 kB / 1.511 GB, free: 65.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/3.443, allocations: 0.6856 MB / 1.512 GB, free: 64.99 MB / 0.5886 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = 0.0 ($START.conductionElement5.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement3.deltaE_system = 0.0 ($START.conductionElement3.deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement1.deltaE_system = 0.0 ($START.conductionElement1.deltaE_system = 0.0) 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 = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/3.447, allocations: 1.339 MB / 1.513 GB, free: 63.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/3.447, allocations: 3.953 kB / 1.513 GB, free: 63.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005001/3.452, allocations: 1.991 MB / 1.515 GB, free: 61.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/3.452, allocations: 8 kB / 1.515 GB, free: 61.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/3.452, allocations: 8 kB / 1.515 GB, free: 61.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005071/3.452, allocations: 192.5 kB / 1.515 GB, free: 61.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/3.454, allocations: 334.4 kB / 1.515 GB, free: 61.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/3.458, allocations: 7.783 MB / 1.523 GB, free: 52.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/3.459, allocations: 55.44 kB / 1.523 GB, free: 52.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/3.459, allocations: 83.97 kB / 1.523 GB, free: 52.47 MB / 0.5886 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: conductionElement5.deltaE_system = 0.0 conductionElement3.deltaE_system = 0.0 conductionElement1.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003039/3.46, allocations: 140.4 kB / 1.523 GB, free: 52.33 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/3.46, allocations: 146.2 kB / 1.523 GB, free: 52.18 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005852/3.466, allocations: 2.31 MB / 1.526 GB, free: 49.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004037/3.47, allocations: 1.628 MB / 1.527 GB, free: 48.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/3.47, allocations: 4 kB / 1.527 GB, free: 48.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/3.47, allocations: 14.14 kB / 1.527 GB, free: 48.24 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007672/3.478, allocations: 3.46 MB / 1.531 GB, free: 44.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/3.478, allocations: 4 kB / 1.531 GB, free: 44.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/3.479, allocations: 271.5 kB / 1.531 GB, free: 44.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004844/3.479, allocations: 179.4 kB / 1.531 GB, free: 44.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/3.479, allocations: 47.95 kB / 1.531 GB, free: 44.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/3.483, allocations: 7.78 MB / 1.539 GB, free: 35.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/3.483, allocations: 7.969 kB / 1.539 GB, free: 35.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005327/3.489, allocations: 2.647 MB / 1.541 GB, free: 33.06 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/3.489, allocations: 195.3 kB / 1.541 GB, free: 32.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/3.489, allocations: 11.98 kB / 1.541 GB, free: 32.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/3.49, allocations: 55.84 kB / 1.541 GB, free: 32.79 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/3.49, allocations: 141.8 kB / 1.542 GB, free: 32.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/3.49, allocations: 66.16 kB / 1.542 GB, free: 32.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005698/3.491, allocations: 0.5001 MB / 1.542 GB, free: 32.08 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/3.491, allocations: 0 / 1.542 GB, free: 32.08 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002787/3.494, allocations: 0.7066 MB / 1.543 GB, free: 31.38 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/3.495, allocations: 0.7397 MB / 1.544 GB, free: 30.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00239/3.497, allocations: 2.237 MB / 1.546 GB, free: 28.38 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/3.497, allocations: 3.938 kB / 1.546 GB, free: 28.37 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/3.499, allocations: 1.68 MB / 1.547 GB, free: 26.57 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/3.5, allocations: 266.9 kB / 1.548 GB, free: 26.33 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/3.504, allocations: 2.966 MB / 1.551 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/3.505, allocations: 1.335 MB / 1.552 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001299/3.506, allocations: 0.575 MB / 1.552 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/3.507, allocations: 143.1 kB / 1.553 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of SimCode: time 8.21e-07/3.507, allocations: 0 / 1.553 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of Templates: time 0.03732/3.544, allocations: 26.24 MB / 1.578 GB, free: 11.8 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.ConductionElement_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches