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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 97.91 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8435/0.8435, allocations: 89.61 MB / 380.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004038, allocations: 14.91 kB / 459.9 MB, free: 24.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 68.82 MB / 0.5163 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.0611/0.2127, allocations: 53.99 MB / 0.5691 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3544/0.5671, allocations: 8.595 MB / 0.5774 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.5701, allocations: 29.22 kB / 0.5775 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.5732, allocations: 0.6254 MB / 0.5781 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.5869, allocations: 2.848 MB / 0.5809 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.5972, allocations: 2.924 MB / 0.5837 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006026/0.6032, allocations: 1.925 MB / 0.5856 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.6043, allocations: 435.9 kB / 0.586 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01432/0.6186, allocations: 7.159 MB / 0.593 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.6209, allocations: 0.7627 MB / 0.5938 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003595/0.6212, allocations: 63.19 kB / 0.5938 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.6314, allocations: 3.173 MB / 0.5969 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006443/0.632, allocations: 260.4 kB / 0.5972 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.6336, allocations: 355.6 kB / 0.5975 GB, free: 23.46 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006192/0.6398, allocations: 2.025 MB / 0.5995 GB, free: 23.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6398, allocations: 0 / 0.5995 GB, free: 23.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6398, allocations: 1.375 kB / 0.5995 GB, free: 23.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.211e-05/0.6399, allocations: 4 kB / 0.5995 GB, free: 23.25 MB / 462.1 MB 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.005012/0.6449, allocations: 2.079 MB / 0.6015 GB, free: 22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.645, allocations: 9.406 kB / 0.6015 GB, free: 22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.648, allocations: 377.1 kB / 0.6019 GB, free: 21.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.6496, allocations: 0.7887 MB / 0.6027 GB, free: 21.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.6498, allocations: 119.7 kB / 0.6028 GB, free: 21.38 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.65, allocations: 160.6 kB / 0.6029 GB, free: 21.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.6533, allocations: 1.605 MB / 0.6045 GB, free: 20.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.6533, allocations: 3.188 kB / 0.6045 GB, free: 20.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.6534, allocations: 69.45 kB / 0.6046 GB, free: 20.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.6535, allocations: 44.83 kB / 0.6046 GB, free: 20.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.6561, allocations: 1.126 MB / 0.6057 GB, free: 20.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.6672, allocations: 10.49 MB / 0.6159 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.6696, allocations: 1.038 MB / 0.617 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/0.6718, allocations: 2.671 MB / 0.6196 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.6719, allocations: 41.16 kB / 0.6196 GB, free: 8.453 MB / 462.1 MB Notification: Performance of pre-optimization done (n=105): time 2.905e-06/0.6719, allocations: 4 kB / 0.6196 GB, free: 8.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.01023/0.6821, allocations: 4.039 MB / 0.6235 GB, free: 6.766 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.6822, allocations: 61.25 kB / 0.6236 GB, free: 6.703 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.6837, allocations: 1.248 MB / 0.6248 GB, free: 6.332 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.039e-05/0.6838, allocations: 46.39 kB / 0.6249 GB, free: 6.301 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/0.6842, allocations: 0.7769 MB / 0.6256 GB, free: 5.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.6845, allocations: 392.5 kB / 0.626 GB, free: 5.648 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.6846, allocations: 27.16 kB / 0.626 GB, free: 5.648 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6847, allocations: 358.5 kB / 0.6264 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000922/0.6857, allocations: 449.6 kB / 0.6268 GB, free: 5.262 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.6867, allocations: 0.7146 MB / 0.6275 GB, free: 4.875 MB / 462.1 MB 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.001352/0.6881, allocations: 0.8661 MB / 0.6283 GB, free: 4.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.6881, allocations: 1.531 kB / 0.6283 GB, free: 4.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002993/0.6911, allocations: 1.62 MB / 0.6299 GB, free: 4.055 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.6912, allocations: 9.75 kB / 0.6299 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6912, allocations: 8.219 kB / 0.6299 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/0.6917, allocations: 195.4 kB / 0.6301 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.6928, allocations: 333 kB / 0.6304 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/0.6985, allocations: 8.162 MB / 0.6384 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.6999, allocations: 84.86 kB / 0.6385 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.7001, allocations: 63.7 kB / 0.6386 GB, free: 12.12 MB / 478.1 MB 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 (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006629/0.7008, allocations: 309.5 kB / 0.6389 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.701, allocations: 170.2 kB / 0.639 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.7046, allocations: 1.704 MB / 0.6407 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.7046, allocations: 12 kB / 0.6407 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.7046, allocations: 6.078 kB / 0.6407 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.7047, allocations: 3.984 kB / 0.6407 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004828/0.7095, allocations: 2.758 MB / 0.6434 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7095, allocations: 0 / 0.6434 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.7106, allocations: 246.8 kB / 0.6436 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005388/0.7111, allocations: 192.6 kB / 0.6438 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/0.7112, allocations: 41.97 kB / 0.6439 GB, free: 8.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005646/0.7169, allocations: 8.165 MB / 0.6518 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7169, allocations: 2.406 kB / 0.6518 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/0.7208, allocations: 2.058 MB / 0.6538 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/0.7215, allocations: 243.4 kB / 0.6541 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.7218, allocations: 24.12 kB / 0.6541 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/0.7226, allocations: 62.58 kB / 0.6542 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.7228, allocations: 116.1 kB / 0.6543 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/0.7229, allocations: 46.09 kB / 0.6543 GB, free: 13.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.724, allocations: 0.8159 MB / 0.6551 GB, free: 13.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.724, allocations: 0 / 0.6551 GB, free: 13.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002236/0.7263, allocations: 0.5466 MB / 0.6556 GB, free: 12.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001177/0.7275, allocations: 0.5735 MB / 0.6562 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003307/0.7308, allocations: 1.867 MB / 0.658 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.7308, allocations: 4 kB / 0.658 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.7327, allocations: 1.3 MB / 0.6593 GB, free: 9.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.7347, allocations: 350.2 kB / 0.6596 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/0.7406, allocations: 3.975 MB / 0.6635 GB, free: 5.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009742/0.7416, allocations: 1.269 MB / 0.6648 GB, free: 4.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001538/0.7431, allocations: 0.5206 MB / 0.6653 GB, free: 3.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.7435, allocations: 142.1 kB / 0.6654 GB, free: 3.711 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7435, allocations: 0 / 0.6654 GB, free: 3.711 MB / 494.1 MB Notification: Performance of Templates: time 0.04245/0.786, allocations: 24.53 MB / 0.6894 GB, free: 11.61 MB / 0.5137 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