Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 177 kB / 23.02 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9103/0.9103, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6308/0.6308, allocations: 118.6 MB / 378.6 MB, free: 1.484 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 483.6 MB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.939e-05, allocations: 10.22 kB / 483.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1228/0.1228, allocations: 129.6 MB / 0.5988 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.1236, allocations: 0.767 MB / 0.5996 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1238, allocations: 31.69 kB / 0.5996 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.1242, allocations: 83.28 kB / 0.5997 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.1245, allocations: 194.7 kB / 0.5999 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1247, allocations: 119.5 kB / 0.6 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006174/0.1254, allocations: 446 kB / 0.6004 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1255, allocations: 36.92 kB / 0.6005 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.1259, allocations: 271.1 kB / 0.6007 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.126, allocations: 111.7 kB / 0.6008 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.126, allocations: 12 kB / 0.6008 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1261, allocations: 75.75 kB / 0.6009 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.1262, allocations: 39.78 kB / 0.601 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.1263, allocations: 63.8 kB / 0.601 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.1266, allocations: 254.9 kB / 0.6013 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1266, allocations: 4 kB / 0.6013 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1266, allocations: 0 / 0.6013 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.1266, allocations: 0 / 0.6013 GB, free: 12.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006049/0.1272, allocations: 0.6279 MB / 0.6019 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1272, allocations: 8.031 kB / 0.6019 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.1273, allocations: 52.69 kB / 0.6019 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.1277, allocations: 358.6 kB / 0.6023 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1277, allocations: 16.61 kB / 0.6023 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1277, allocations: 12.38 kB / 0.6023 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1279, allocations: 140.9 kB / 0.6024 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1279, allocations: 192 / 0.6024 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1279, allocations: 8.125 kB / 0.6024 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1279, allocations: 7.984 kB / 0.6025 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.128, allocations: 39.92 kB / 0.6025 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.1286, allocations: 0.8358 MB / 0.6033 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1287, allocations: 82.05 kB / 0.6034 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.1287, allocations: 35.55 kB / 0.6034 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-05/0.1288, allocations: 7.984 kB / 0.6034 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1288, allocations: 41.39 kB / 0.6035 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1288, allocations: 0 / 0.6035 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003926/0.1292, allocations: 172.6 kB / 0.6036 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1292, allocations: 85.05 kB / 0.6037 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1294, allocations: 350.8 kB / 0.604 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1294, allocations: 25.7 kB / 0.6041 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.1295, allocations: 223 kB / 0.6043 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.1296, allocations: 27.75 kB / 0.6043 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1296, allocations: 31.36 kB / 0.6043 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1297, allocations: 0.5117 MB / 0.6048 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.1297, allocations: 11.98 kB / 0.6049 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.1298, allocations: 50.73 kB / 0.6049 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.526e-05/0.1298, allocations: 66.69 kB / 0.605 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1298, allocations: 0 / 0.605 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000157/0.13, allocations: 144.7 kB / 0.6051 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.13, allocations: 4 kB / 0.6051 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.13, allocations: 4 kB / 0.6051 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.1302, allocations: 51.41 kB / 0.6052 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.557e-05/0.1302, allocations: 8 kB / 0.6052 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.1318, allocations: 3.467 MB / 0.6086 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.1318, allocations: 3.938 kB / 0.6086 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1318, allocations: 8 kB / 0.6086 GB, free: 4.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.489e-05/0.1319, allocations: 164.5 kB / 0.6087 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.132, allocations: 35.77 kB / 0.6088 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.1322, allocations: 150.8 kB / 0.6089 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1322, allocations: 0 / 0.6089 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1322, allocations: 32 / 0.6089 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1322, allocations: 7.984 kB / 0.6089 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.1325, allocations: 0.5655 MB / 0.6095 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1325, allocations: 4 kB / 0.6095 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.1325, allocations: 3.984 kB / 0.6095 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-05/0.1326, allocations: 43.47 kB / 0.6095 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1326, allocations: 15.88 kB / 0.6095 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.1337, allocations: 3.452 MB / 0.6129 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1337, allocations: 4 kB / 0.6129 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.134, allocations: 425.4 kB / 0.6133 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.134, allocations: 27.88 kB / 0.6133 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.134, allocations: 8 kB / 0.6133 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/0.1341, allocations: 7.938 kB / 0.6133 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.1341, allocations: 7.984 kB / 0.6134 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1341, allocations: 7.984 kB / 0.6134 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001255/0.1342, allocations: 247.2 kB / 0.6136 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1342, allocations: 0 / 0.6136 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002426/0.1345, allocations: 51.89 kB / 0.6136 GB, free: 14.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.1346, allocations: 103.2 kB / 0.6137 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000625/0.1352, allocations: 395.4 kB / 0.6141 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1352, allocations: 0 / 0.6141 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1354, allocations: 371.3 kB / 0.6145 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1358, allocations: 69.75 kB / 0.6145 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/0.1367, allocations: 0.5795 MB / 0.6151 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.696e-05/0.1367, allocations: 84.31 kB / 0.6152 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.599e-05/0.1368, allocations: 30.22 kB / 0.6152 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.1368, allocations: 20.5 kB / 0.6152 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/0.1368, allocations: 0 / 0.6152 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.0052/0.142, allocations: 3.169 MB / 0.6183 GB, free: 9.719 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.690534837078303]