Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.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.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 99.7 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.00131/0.00131, 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.545/1.545, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7303/0.7303, allocations: 89.61 MB / 380.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 16.88 kB / 459.9 MB, free: 24.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1479, allocations: 68.82 MB / 0.5163 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.5651/0.7131, allocations: 200.5 MB / 0.7122 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04155/0.7547, allocations: 30.55 MB / 0.742 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/0.7587, allocations: 47.81 kB / 0.742 GB, free: 2.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005829/0.7645, allocations: 1.672 MB / 0.7437 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009709/0.7743, allocations: 2.87 MB / 0.7465 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007977/0.7823, allocations: 2.047 MB / 0.7485 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007478/0.7898, allocations: 3.035 MB / 0.7514 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.7922, allocations: 0.8248 MB / 0.7522 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003966/0.7962, allocations: 1.476 MB / 0.7537 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004434/0.8007, allocations: 2.013 MB / 0.7557 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.8019, allocations: 132 kB / 0.7558 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01216/0.8141, allocations: 4.104 MB / 0.7598 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.8155, allocations: 0.5136 MB / 0.7603 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.8175, allocations: 0.551 MB / 0.7608 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009212/0.8267, allocations: 3.589 MB / 0.7643 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.8267, allocations: 0 / 0.7643 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8268, allocations: 0 / 0.7643 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001926/0.827, allocations: 0 / 0.7643 GB, free: 11.82 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.01004/0.837, allocations: 3.166 MB / 0.7674 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8371, allocations: 8.031 kB / 0.7674 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.8381, allocations: 296.5 kB / 0.7677 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.8409, allocations: 1.342 MB / 0.769 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.8411, allocations: 184.4 kB / 0.7692 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/0.8415, allocations: 235.8 kB / 0.7694 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004408/0.8459, allocations: 2.786 MB / 0.7721 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.8459, allocations: 0 / 0.7721 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.8461, allocations: 92 kB / 0.7722 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/0.8462, allocations: 61 kB / 0.7723 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.8504, allocations: 2.789 MB / 0.775 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.8687, allocations: 12.19 MB / 0.7869 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/0.873, allocations: 2.273 MB / 0.7891 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/0.8867, allocations: 8.663 MB / 0.7976 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.374e-05/0.8869, allocations: 64.17 kB / 0.7977 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=228): time 7.714e-06/0.8869, allocations: 0 / 0.7977 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=232): time 0.3633/1.25, allocations: 9.095 MB / 0.8065 GB, free: 224.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/1.25, allocations: 158.3 kB / 0.8067 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/1.254, allocations: 1.409 MB / 0.8081 GB, free: 224.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006492/1.254, allocations: 63.48 kB / 0.8081 GB, free: 224.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009195/1.255, allocations: 0.9264 MB / 0.809 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007943/1.256, allocations: 0.7734 MB / 0.8098 GB, free: 223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/1.256, allocations: 44.44 kB / 0.8098 GB, free: 223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.256, allocations: 385.1 kB / 0.8102 GB, free: 222.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.258, allocations: 0.9064 MB / 0.8111 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/1.26, allocations: 1.191 MB / 0.8122 GB, free: 221.7 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance5.m_flow = flowResistance5.m_flow_0 (flowResistance7.m_flow_0 - flowResistance4.m_flow_0 = flowResistance5.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance11.m_flow = flowResistance11.m_flow_0 (flowResistance6.m_flow_0 - flowResistance10.m_flow_0 = flowResistance11.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance9.m_flow = flowResistance9.m_flow_0 (flowResistance3.m_flow_0 - flowResistance8.m_flow_0 = flowResistance9.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance1.m_flow = flowResistance1.m_flow_0 (flowResistance2.m_flow_0 - flowResistance.m_flow_0 = flowResistance1.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.05154/1.312, allocations: 11.07 MB / 0.8231 GB, free: 220.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/1.312, allocations: 6.062 kB / 0.8231 GB, free: 220.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007404/1.319, allocations: 3.219 MB / 0.8262 GB, free: 218.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/1.319, allocations: 11.5 kB / 0.8262 GB, free: 218.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.319, allocations: 6.031 kB / 0.8262 GB, free: 218.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/1.322, allocations: 0.8415 MB / 0.8271 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/1.324, allocations: 370.2 kB / 0.8274 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.339, allocations: 11.33 MB / 0.8385 GB, free: 209.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/1.341, allocations: 138.7 kB / 0.8386 GB, free: 209.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/1.342, allocations: 95.11 kB / 0.8387 GB, free: 209.4 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: flowResistance5.m_flow = flowResistance5.m_flow_0 flowResistance11.m_flow = flowResistance11.m_flow_0 flowResistance9.m_flow = flowResistance9.m_flow_0 flowResistance1.m_flow = flowResistance1.m_flow_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (199): * Single equations (assignments): 195 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 9,(3,77.8%) 22,(3,77.8%) 19,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001087/1.343, allocations: 464.9 kB / 0.8391 GB, free: 209.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/1.343, allocations: 200.3 kB / 0.8393 GB, free: 209 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006572/1.35, allocations: 4.263 MB / 0.8435 GB, free: 206.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.35, allocations: 27.33 kB / 0.8435 GB, free: 206.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/1.35, allocations: 14.28 kB / 0.8435 GB, free: 206.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/1.35, allocations: 11.95 kB / 0.8435 GB, free: 206.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/1.361, allocations: 6.615 MB / 0.85 GB, free: 202.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.361, allocations: 3.906 kB / 0.85 GB, free: 202.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.362, allocations: 346.6 kB / 0.8503 GB, free: 202.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/1.364, allocations: 0.7233 MB / 0.851 GB, free: 201.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/1.364, allocations: 76.95 kB / 0.8511 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00915/1.373, allocations: 9.782 MB / 0.8607 GB, free: 191.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.373, allocations: 4 kB / 0.8607 GB, free: 191.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007184/1.381, allocations: 5.159 MB / 0.8657 GB, free: 186.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.382, allocations: 354.1 kB / 0.866 GB, free: 186.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/1.382, allocations: 52 kB / 0.8661 GB, free: 186.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/1.384, allocations: 135.7 kB / 0.8662 GB, free: 186 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004025/1.384, allocations: 208.6 kB / 0.8664 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.384, allocations: 87.94 kB / 0.8665 GB, free: 185.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001234/1.386, allocations: 1.05 MB / 0.8675 GB, free: 184.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/1.386, allocations: 0 / 0.8675 GB, free: 184.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003845/1.39, allocations: 1.217 MB / 0.8687 GB, free: 183.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 8 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance9.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance11.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance5.inlet.m_flow,flowResistance7.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 (188): * Single equations (assignments): 184 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(3,77.8%) 19,(3,77.8%) 22,(3,77.8%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002083/1.392, allocations: 1.462 MB / 0.8702 GB, free: 182.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005088/1.397, allocations: 3.22 MB / 0.8733 GB, free: 179 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.397, allocations: 0 / 0.8733 GB, free: 179 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00318/1.4, allocations: 2.161 MB / 0.8754 GB, free: 176.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/1.404, allocations: 0.7154 MB / 0.8761 GB, free: 176.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008918/1.413, allocations: 5.998 MB / 0.882 GB, free: 170 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009904/1.414, allocations: 1.704 MB / 0.8836 GB, free: 168.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002498/1.416, allocations: 0.5859 MB / 0.8842 GB, free: 167.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/1.417, allocations: 199.3 kB / 0.8844 GB, free: 167.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.593e-06/1.417, allocations: 0 / 0.8844 GB, free: 167.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.07795/1.495, allocations: 56.95 MB / 0.94 GB, free: 111 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestJunction_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches