Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0009043/0.0009043, allocations: 93.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.000992/0.000992, allocations: 169 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.9119/0.9119, allocations: 177.1 MB / 203.4 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6465/0.6465, allocations: 118.6 MB / 378.6 MB, free: 1.48 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 483.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.986e-05, allocations: 3.688 kB / 483.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1272/0.1272, allocations: 129.6 MB / 0.5988 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.1282, allocations: 0.7748 MB / 0.5996 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.1284, allocations: 31.69 kB / 0.5996 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.1288, allocations: 79.23 kB / 0.5997 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.1292, allocations: 186.8 kB / 0.5999 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1294, allocations: 127.5 kB / 0.6 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.1298, allocations: 442 kB / 0.6004 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.13, allocations: 36.91 kB / 0.6004 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.1304, allocations: 267.1 kB / 0.6007 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1306, allocations: 111.7 kB / 0.6008 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.1306, allocations: 12 kB / 0.6008 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1307, allocations: 83.8 kB / 0.6009 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.1308, allocations: 35.72 kB / 0.6009 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.1309, allocations: 75.72 kB / 0.601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.1312, allocations: 243 kB / 0.6012 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1312, allocations: 0 / 0.6012 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1312, allocations: 0 / 0.6012 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1312, allocations: 0 / 0.6012 GB, free: 12.18 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.0008793/0.1321, allocations: 0.6278 MB / 0.6019 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1321, allocations: 8.031 kB / 0.6019 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.1322, allocations: 52.7 kB / 0.6019 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.1327, allocations: 370.6 kB / 0.6023 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1327, allocations: 8.609 kB / 0.6023 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.1327, allocations: 12.38 kB / 0.6023 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1329, allocations: 141.1 kB / 0.6024 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1329, allocations: 192 / 0.6024 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1329, allocations: 4.125 kB / 0.6024 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1329, allocations: 4 kB / 0.6024 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.133, allocations: 47.91 kB / 0.6025 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.1337, allocations: 0.828 MB / 0.6033 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1338, allocations: 86.12 kB / 0.6034 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.1339, allocations: 35.38 kB / 0.6034 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.1339, allocations: 8.078 kB / 0.6034 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1339, allocations: 37.39 kB / 0.6034 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1339, allocations: 0 / 0.6034 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.000463/0.1344, allocations: 180.9 kB / 0.6036 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1344, allocations: 81.05 kB / 0.6037 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1347, allocations: 342.8 kB / 0.604 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1347, allocations: 29.7 kB / 0.604 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1348, allocations: 227 kB / 0.6043 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1348, allocations: 27.73 kB / 0.6043 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.1349, allocations: 35.33 kB / 0.6043 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.135, allocations: 0.5156 MB / 0.6048 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.135, allocations: 8 kB / 0.6048 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.1351, allocations: 50.67 kB / 0.6049 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.092e-05/0.1352, allocations: 70.7 kB / 0.6049 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1352, allocations: 0 / 0.6049 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.1354, allocations: 148.7 kB / 0.6051 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1354, allocations: 10.81 kB / 0.6051 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1354, allocations: 0 / 0.6051 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.1355, allocations: 39.3 kB / 0.6051 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.258e-05/0.1356, allocations: 15.98 kB / 0.6052 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.1374, allocations: 3.467 MB / 0.6085 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.1375, allocations: 7.891 kB / 0.6085 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1375, allocations: 4.25 kB / 0.6085 GB, free: 4.129 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 9.43e-05/0.1376, allocations: 168.6 kB / 0.6087 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1376, allocations: 31.81 kB / 0.6087 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.1378, allocations: 150.8 kB / 0.6089 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1379, allocations: 4 kB / 0.6089 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1379, allocations: 0 / 0.6089 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1379, allocations: 4 kB / 0.6089 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1383, allocations: 0.5693 MB / 0.6094 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1383, allocations: 4 kB / 0.6095 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.1383, allocations: 7.938 kB / 0.6095 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.1384, allocations: 43.34 kB / 0.6095 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1384, allocations: 0 / 0.6095 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.1398, allocations: 3.468 MB / 0.6129 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1398, allocations: 4.234 kB / 0.6129 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1401, allocations: 417.5 kB / 0.6133 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.1401, allocations: 35.8 kB / 0.6133 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1401, allocations: 0 / 0.6133 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1402, allocations: 12 kB / 0.6133 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.1402, allocations: 15.92 kB / 0.6133 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1402, allocations: 0 / 0.6133 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001688/0.1404, allocations: 247.1 kB / 0.6136 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1404, allocations: 0 / 0.6136 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003485/0.1408, allocations: 47.89 kB / 0.6136 GB, free: 14.54 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.0001649/0.1409, allocations: 111.2 kB / 0.6137 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.1413, allocations: 395.2 kB / 0.6141 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1413, allocations: 4.125 kB / 0.6141 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.1415, allocations: 367.4 kB / 0.6145 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.142, allocations: 72.42 kB / 0.6145 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1431, allocations: 0.5673 MB / 0.6151 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.327e-05/0.1431, allocations: 84.31 kB / 0.6152 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.632e-05/0.1432, allocations: 30.27 kB / 0.6152 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.1435, allocations: 28.48 kB / 0.6152 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of SimCode: time 8.01e-07/0.1435, allocations: 0 / 0.6152 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of Templates: time 0.005548/0.149, allocations: 3.181 MB / 0.6183 GB, free: 9.676 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.549339753575623]