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.001091/0.001091, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001266/0.001266, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.7369/0.7369, allocations: 118.6 MB / 378.9 MB, free: 1.496 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 2.014e-06/2.014e-06, allocations: 0 / 483.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.491e-05, allocations: 2.312 kB / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1314/0.1315, allocations: 135.8 MB / 0.6049 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1329, allocations: 1.663 MB / 0.6065 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.1331, allocations: 31.69 kB / 0.6065 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.1335, allocations: 127 kB / 0.6066 GB, free: 7 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.134, allocations: 222.6 kB / 0.6068 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.1344, allocations: 215 kB / 0.607 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.1349, allocations: 442 kB / 0.6075 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.135, allocations: 36.91 kB / 0.6075 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004906/0.1355, allocations: 314.8 kB / 0.6078 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1357, allocations: 111.7 kB / 0.6079 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1357, allocations: 8 kB / 0.6079 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.136, allocations: 215.6 kB / 0.6081 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.1361, allocations: 43.72 kB / 0.6082 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.1361, allocations: 59.8 kB / 0.6082 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.1365, allocations: 302.8 kB / 0.6085 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1365, allocations: 0 / 0.6085 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/0.1365, allocations: 4 kB / 0.6085 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.1366, allocations: 0 / 0.6085 GB, free: 5.062 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.0006355/0.1372, allocations: 0.6313 MB / 0.6091 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1372, allocations: 8.031 kB / 0.6091 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.1374, allocations: 48.7 kB / 0.6092 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.1378, allocations: 366.6 kB / 0.6095 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1378, allocations: 12.61 kB / 0.6095 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1378, allocations: 12.38 kB / 0.6096 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.138, allocations: 141.1 kB / 0.6097 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.138, allocations: 4.125 kB / 0.6097 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1381, allocations: 8.125 kB / 0.6097 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1381, allocations: 4 kB / 0.6097 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.1381, allocations: 39.91 kB / 0.6097 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.1388, allocations: 0.8358 MB / 0.6106 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.1389, allocations: 90.12 kB / 0.6106 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.139, allocations: 31.38 kB / 0.6107 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.178e-05/0.139, allocations: 8.078 kB / 0.6107 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1391, allocations: 37.39 kB / 0.6107 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1391, allocations: 0 / 0.6107 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0004342/0.1395, allocations: 184.9 kB / 0.6109 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1395, allocations: 77.11 kB / 0.611 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1397, allocations: 342.8 kB / 0.6113 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1398, allocations: 33.7 kB / 0.6113 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1399, allocations: 223 kB / 0.6115 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.1399, allocations: 39.69 kB / 0.6116 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1399, allocations: 23.38 kB / 0.6116 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1401, allocations: 0.5156 MB / 0.6121 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.1401, allocations: 8 kB / 0.6121 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.1401, allocations: 50.73 kB / 0.6122 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.1402, allocations: 70.67 kB / 0.6122 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1402, allocations: 0 / 0.6122 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001657/0.1404, allocations: 140.7 kB / 0.6124 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1404, allocations: 8 kB / 0.6124 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1404, allocations: 0 / 0.6124 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.1406, allocations: 43.42 kB / 0.6124 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/0.1406, allocations: 15.92 kB / 0.6124 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.1421, allocations: 3.463 MB / 0.6158 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.1421, allocations: 11.89 kB / 0.6158 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.1421, allocations: 7.984 kB / 0.6158 GB, free: 13 MB / 0.5417 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.778e-05/0.1422, allocations: 164.6 kB / 0.616 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.1424, allocations: 35.81 kB / 0.616 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.1426, allocations: 150.9 kB / 0.6162 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1426, allocations: 0 / 0.6162 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1426, allocations: 4 kB / 0.6162 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1426, allocations: 0 / 0.6162 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.1429, allocations: 0.5732 MB / 0.6167 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1429, allocations: 0 / 0.6167 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/0.1429, allocations: 4 kB / 0.6167 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.143, allocations: 51.41 kB / 0.6168 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.143, allocations: 0 / 0.6168 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.1445, allocations: 3.472 MB / 0.6202 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1445, allocations: 0 / 0.6202 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1447, allocations: 417.5 kB / 0.6206 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.1447, allocations: 35.8 kB / 0.6206 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1448, allocations: 0 / 0.6206 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.1448, allocations: 12.09 kB / 0.6206 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.1448, allocations: 11.98 kB / 0.6206 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.1449, allocations: 0 / 0.6206 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001389/0.145, allocations: 247.1 kB / 0.6209 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3e-08/0.145, allocations: 0 / 0.6209 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002732/0.1453, allocations: 55.89 kB / 0.6209 GB, free: 7.41 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.0002127/0.1455, allocations: 154.6 kB / 0.6211 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1458, allocations: 398.9 kB / 0.6214 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1458, allocations: 0 / 0.6214 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.146, allocations: 363.4 kB / 0.6218 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1464, allocations: 76.23 kB / 0.6219 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1475, allocations: 0.5614 MB / 0.6224 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.061e-05/0.1476, allocations: 84.31 kB / 0.6225 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.626e-05/0.1477, allocations: 26.28 kB / 0.6225 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.1477, allocations: 28.5 kB / 0.6225 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/0.1477, allocations: 0 / 0.6225 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of Templates: time 0.006438/0.1541, allocations: 3.565 MB / 0.626 GB, free: 2.129 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.926964594051242]