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.01239/0.01239, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 223.2 MB / 239 MB, free: 1.781 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.001041/0.001042, allocations: 95.19 kB / 290.2 MB, free: 13.95 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.0127/0.0127, allocations: 1.558 MB / 342.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8932/0.8932, allocations: 90.31 MB / 484.7 MB, free: 21.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005524/0.0005524, allocations: 22.72 kB / 0.5526 GB, free: 30.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2027, allocations: 69.36 MB / 0.6203 GB, free: 5.637 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8702/1.073, allocations: 276.6 MB / 0.8905 GB, free: 7.375 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/1.073, allocations: 93.45 kB / 0.8905 GB, free: 7.328 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.081/4.155, allocations: 0.6168 GB / 1.507 GB, free: 89.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.607e-06/4.155, allocations: 0 / 1.507 GB, free: 89.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002792/4.155, allocations: 53.73 kB / 1.507 GB, free: 89.8 MB / 0.6042 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.0131/4.168, allocations: 3.032 MB / 1.51 GB, free: 88.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.403e-05/4.168, allocations: 13.98 kB / 1.51 GB, free: 88.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/4.172, allocations: 383.7 kB / 1.511 GB, free: 88.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/4.175, allocations: 0.9116 MB / 1.512 GB, free: 87.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/4.175, allocations: 117.1 kB / 1.512 GB, free: 87.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008127/4.176, allocations: 156.5 kB / 1.512 GB, free: 87.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006301/4.183, allocations: 1.618 MB / 1.513 GB, free: 87.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-05/4.183, allocations: 2.844 kB / 1.513 GB, free: 87.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003318/4.183, allocations: 69.64 kB / 1.514 GB, free: 87.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.988e-05/4.183, allocations: 48.44 kB / 1.514 GB, free: 87.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004545/4.188, allocations: 1.192 MB / 1.515 GB, free: 87.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/4.201, allocations: 7.594 MB / 1.522 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/4.205, allocations: 1.249 MB / 1.523 GB, free: 83.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002615/4.208, allocations: 2.664 MB / 1.526 GB, free: 80.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.416e-05/4.208, allocations: 47.16 kB / 1.526 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=141): time 6.442e-06/4.208, allocations: 0 / 1.526 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.01782/4.226, allocations: 6.226 MB / 1.532 GB, free: 77.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/4.226, allocations: 66.72 kB / 1.532 GB, free: 77.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/4.228, allocations: 0.8529 MB / 1.533 GB, free: 77.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/4.228, allocations: 46.77 kB / 1.533 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000617/4.228, allocations: 0.7208 MB / 1.534 GB, free: 76.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/4.229, allocations: 0.505 MB / 1.534 GB, free: 76.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/4.229, allocations: 30 kB / 1.534 GB, free: 76.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000152/4.229, allocations: 367.7 kB / 1.535 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/4.23, allocations: 0.5228 MB / 1.535 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/4.232, allocations: 0.8104 MB / 1.536 GB, free: 75.74 MB / 0.6042 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.001691/4.234, allocations: 0.9667 MB / 1.537 GB, free: 75.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.706e-05/4.234, allocations: 2.844 kB / 1.537 GB, free: 75.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004219/4.238, allocations: 1.831 MB / 1.539 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/4.238, allocations: 6.938 kB / 1.539 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/4.238, allocations: 7.094 kB / 1.539 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/4.239, allocations: 190.4 kB / 1.539 GB, free: 75.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/4.24, allocations: 337.3 kB / 1.539 GB, free: 75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/4.245, allocations: 8.156 MB / 1.547 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/4.247, allocations: 89.05 kB / 1.547 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/4.247, allocations: 84.34 kB / 1.547 GB, free: 67.22 MB / 0.6042 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 () * Number of clocked 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.001009/4.248, allocations: 314.5 kB / 1.548 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/4.249, allocations: 149.9 kB / 1.548 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004793/4.253, allocations: 2.13 MB / 1.55 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00255/4.256, allocations: 1.398 MB / 1.551 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/4.256, allocations: 6.953 kB / 1.551 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/4.256, allocations: 3.609 kB / 1.551 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006855/4.263, allocations: 3.42 MB / 1.555 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/4.263, allocations: 2.312 kB / 1.555 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/4.264, allocations: 271.9 kB / 1.555 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005377/4.265, allocations: 190.8 kB / 1.555 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/4.265, allocations: 60.81 kB / 1.555 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005075/4.27, allocations: 8.178 MB / 1.563 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/4.27, allocations: 4.031 kB / 1.563 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/4.275, allocations: 2.542 MB / 1.566 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/4.276, allocations: 209.3 kB / 1.566 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/4.276, allocations: 28 kB / 1.566 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/4.277, allocations: 92.09 kB / 1.566 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/4.277, allocations: 136.7 kB / 1.566 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/4.278, allocations: 67.06 kB / 1.566 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009425/4.279, allocations: 0.6487 MB / 1.567 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.11e-07/4.279, allocations: 0 / 1.567 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003845/4.282, allocations: 0.7637 MB / 1.567 GB, free: 51.5 MB / 0.6042 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 () * Number of clocked 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.002077/4.285, allocations: 0.7633 MB / 1.568 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004519/4.289, allocations: 2.549 MB / 1.571 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/4.289, allocations: 3.25 kB / 1.571 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002617/4.292, allocations: 1.85 MB / 1.572 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/4.294, allocations: 329.3 kB / 1.573 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/4.302, allocations: 4.42 MB / 1.577 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009674/4.303, allocations: 1.333 MB / 1.578 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002094/4.305, allocations: 0.5778 MB / 1.579 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/4.306, allocations: 149 kB / 1.579 GB, free: 41 MB / 0.6042 GB Notification: Performance of SimCode: time 1.543e-06/4.306, allocations: 0 / 1.579 GB, free: 41 MB / 0.6042 GB Notification: Performance of Templates: time 0.05845/4.364, allocations: 29.53 MB / 1.608 GB, free: 13.32 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