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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 172 kB / 16.11 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 222.3 MB, free: 8.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000908/0.0009079, allocations: 93.55 kB / 270.6 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8914/0.8914, allocations: 89.58 MB / 408.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003952, allocations: 12 kB / 485.2 MB, free: 7.645 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3869, allocations: 66.01 MB / 0.5383 GB, free: 34.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7323/1.119, allocations: 285.1 MB / 0.8167 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004275/1.12, allocations: 93.14 kB / 0.8168 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.98/4.099, allocations: 0.699 GB / 1.516 GB, free: 73.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.338e-06/4.1, allocations: 3.812 kB / 1.516 GB, free: 73.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002902/4.1, allocations: 48.36 kB / 1.516 GB, free: 73.41 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.01846/4.118, allocations: 4.48 MB / 1.52 GB, free: 70.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/4.118, allocations: 8.219 kB / 1.52 GB, free: 70.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/4.121, allocations: 340.1 kB / 1.521 GB, free: 70.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/4.124, allocations: 0.959 MB / 1.522 GB, free: 70.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/4.124, allocations: 118.2 kB / 1.522 GB, free: 70.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005444/4.125, allocations: 156.2 kB / 1.522 GB, free: 70.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00483/4.129, allocations: 1.623 MB / 1.523 GB, free: 69.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.289e-05/4.129, allocations: 11.31 kB / 1.523 GB, free: 69.19 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/4.13, allocations: 64.88 kB / 1.523 GB, free: 69.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/4.13, allocations: 38.56 kB / 1.523 GB, free: 69.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003515/4.133, allocations: 1.199 MB / 1.525 GB, free: 68.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/4.144, allocations: 7.571 MB / 1.532 GB, free: 60.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/4.147, allocations: 1.256 MB / 1.533 GB, free: 58.92 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/4.148, allocations: 0.5274 MB / 1.534 GB, free: 58.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/4.15, allocations: 2.223 MB / 1.536 GB, free: 55.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/4.15, allocations: 47.62 kB / 1.536 GB, free: 55.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=141): time 5.079e-06/4.15, allocations: 0 / 1.536 GB, free: 55.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.01627/4.166, allocations: 5.769 MB / 1.542 GB, free: 49.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/4.166, allocations: 64.72 kB / 1.542 GB, free: 49.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/4.168, allocations: 0.9913 MB / 1.543 GB, free: 48.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/4.168, allocations: 45.7 kB / 1.543 GB, free: 48.63 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/4.168, allocations: 0.7106 MB / 1.543 GB, free: 47.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/4.169, allocations: 0.5116 MB / 1.544 GB, free: 47.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-05/4.169, allocations: 32 kB / 1.544 GB, free: 47.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001241/4.169, allocations: 367.8 kB / 1.544 GB, free: 47.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/4.17, allocations: 0.5315 MB / 1.545 GB, free: 46.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/4.171, allocations: 0.817 MB / 1.546 GB, free: 45.57 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 = $START.conductionElement5.deltaE_system (0.0 = $START.conductionElement5.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: conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system (0.0 = $START.conductionElement3.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: conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system (0.0 = $START.conductionElement1.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.002462/4.173, allocations: 1.764 MB / 1.547 GB, free: 43.65 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/4.173, allocations: 5.312 kB / 1.547 GB, free: 43.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.003569/4.177, allocations: 1.839 MB / 1.549 GB, free: 41.81 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/4.177, allocations: 8 kB / 1.549 GB, free: 41.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/4.177, allocations: 8 kB / 1.549 GB, free: 41.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/4.178, allocations: 192.3 kB / 1.549 GB, free: 41.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/4.179, allocations: 338.6 kB / 1.55 GB, free: 41.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004807/4.184, allocations: 8.111 MB / 1.558 GB, free: 32.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/4.185, allocations: 91.77 kB / 1.558 GB, free: 32.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/4.185, allocations: 79.97 kB / 1.558 GB, free: 32.22 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 = $START.conductionElement5.deltaE_system conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. 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.0007907/4.186, allocations: 321.7 kB / 1.558 GB, free: 31.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/4.186, allocations: 150.1 kB / 1.558 GB, free: 31.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/4.191, allocations: 2.402 MB / 1.561 GB, free: 29.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002548/4.193, allocations: 1.411 MB / 1.562 GB, free: 28.01 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/4.193, allocations: 4 kB / 1.562 GB, free: 28 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/4.193, allocations: 10.12 kB / 1.562 GB, free: 28 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006437/4.2, allocations: 3.485 MB / 1.565 GB, free: 24.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/4.2, allocations: 0 / 1.565 GB, free: 24.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/4.201, allocations: 271.9 kB / 1.566 GB, free: 24.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/4.201, allocations: 192.4 kB / 1.566 GB, free: 23.99 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/4.202, allocations: 55.95 kB / 1.566 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/4.206, allocations: 8.109 MB / 1.574 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/4.206, allocations: 0 / 1.574 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/4.211, allocations: 2.452 MB / 1.576 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006675/4.212, allocations: 211 kB / 1.576 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/4.212, allocations: 43.56 kB / 1.576 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/4.214, allocations: 75.8 kB / 1.576 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/4.214, allocations: 141 kB / 1.577 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/4.214, allocations: 71.94 kB / 1.577 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001165/4.215, allocations: 0.6446 MB / 1.577 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/4.215, allocations: 0 / 1.577 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008335/4.224, allocations: 1.651 MB / 1.579 GB, free: 9.68 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (129): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.00895/4.233, allocations: 2.06 MB / 1.581 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004671/4.237, allocations: 2.562 MB / 1.583 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/4.237, allocations: 0 / 1.583 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/4.24, allocations: 1.87 MB / 1.585 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/4.243, allocations: 357.7 kB / 1.586 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007594/4.251, allocations: 4.417 MB / 1.59 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/4.252, allocations: 1.301 MB / 1.591 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002073/4.254, allocations: 0.6722 MB / 1.592 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/4.255, allocations: 151.2 kB / 1.592 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of SimCode: time 1.823e-06/4.255, allocations: 0 / 1.592 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.5032/4.758, allocations: 41.29 MB / 1.632 GB, free: 77.07 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