Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.0009476/0.0009476, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009968/0.0009968, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9773/0.9773, allocations: 177.2 MB / 204.5 MB, free: 5.5 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.689/0.689, allocations: 118.7 MB / 379.7 MB, free: 1.375 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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 484.8 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.619e-05, allocations: 2.312 kB / 484.8 MB, free: 8.094 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1275/0.1275, allocations: 130.5 MB / 0.601 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003963/0.1315, allocations: 2.834 MB / 0.6037 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006993/0.1322, allocations: 63.38 kB / 0.6038 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.1328, allocations: 229.9 kB / 0.604 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.1344, allocations: 0.7019 MB / 0.6047 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.1359, allocations: 0.5607 MB / 0.6052 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002075/0.138, allocations: 1.569 MB / 0.6068 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.1384, allocations: 203.7 kB / 0.607 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.1398, allocations: 0.8725 MB / 0.6078 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008683/0.1407, allocations: 0.5727 MB / 0.6084 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.1408, allocations: 76 kB / 0.6084 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009765/0.1418, allocations: 427.3 kB / 0.6089 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.142, allocations: 199 kB / 0.609 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.1424, allocations: 371 kB / 0.6094 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.144, allocations: 1.14 MB / 0.6105 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1441, allocations: 0 / 0.6105 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1441, allocations: 0 / 0.6105 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.1441, allocations: 4 kB / 0.6105 GB, free: 3.621 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002192/0.1463, allocations: 1.545 MB / 0.612 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1463, allocations: 8.031 kB / 0.612 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.1467, allocations: 219.9 kB / 0.6122 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.1481, allocations: 0.8403 MB / 0.6131 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.1481, allocations: 54.38 kB / 0.6131 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1482, allocations: 76.31 kB / 0.6132 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008303/0.149, allocations: 0.5138 MB / 0.6137 GB, free: 272 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.1491, allocations: 4.125 kB / 0.6137 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.1491, allocations: 31.94 kB / 0.6137 GB, free: 236 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.1491, allocations: 16 kB / 0.6137 GB, free: 220 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.1496, allocations: 249.7 kB / 0.614 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.1524, allocations: 2.067 MB / 0.616 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/0.1533, allocations: 476.7 kB / 0.6164 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.1535, allocations: 133.9 kB / 0.6166 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.1548, allocations: 0.8247 MB / 0.6174 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1548, allocations: 49.88 kB / 0.6174 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=49): time 1.643e-06/0.1548, allocations: 0 / 0.6174 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.001424/0.1562, allocations: 0.9599 MB / 0.6184 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.1562, allocations: 63.89 kB / 0.6184 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.1567, allocations: 0.7069 MB / 0.6191 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1567, allocations: 37.7 kB / 0.6192 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.157, allocations: 0.5537 MB / 0.6197 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.1571, allocations: 186.3 kB / 0.6199 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.1572, allocations: 103.8 kB / 0.62 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1573, allocations: 0.4926 MB / 0.6205 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.1574, allocations: 60.94 kB / 0.6205 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1575, allocations: 166.6 kB / 0.6207 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.1577, allocations: 271 kB / 0.6209 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1577, allocations: 0 / 0.6209 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000515/0.1583, allocations: 484.2 kB / 0.6214 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1583, allocations: 8.062 kB / 0.6214 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1583, allocations: 4 kB / 0.6214 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/0.1586, allocations: 127.3 kB / 0.6215 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1587, allocations: 87.89 kB / 0.6216 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1599, allocations: 2.108 MB / 0.6237 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.1601, allocations: 12 kB / 0.6237 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.1601, allocations: 20 kB / 0.6237 GB, free: 5.621 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.1602, allocations: 184.5 kB / 0.6239 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.1604, allocations: 127.2 kB / 0.624 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006783/0.1611, allocations: 0.6259 MB / 0.6246 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1611, allocations: 4 kB / 0.6246 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1611, allocations: 4 kB / 0.6246 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1611, allocations: 3.984 kB / 0.6246 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1621, allocations: 1.044 MB / 0.6256 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1621, allocations: 4 kB / 0.6256 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1623, allocations: 75.91 kB / 0.6257 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.1625, allocations: 131.4 kB / 0.6258 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.1626, allocations: 23.92 kB / 0.6259 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.1637, allocations: 2.089 MB / 0.6279 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1637, allocations: 0 / 0.6279 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/0.1643, allocations: 0.7321 MB / 0.6286 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1645, allocations: 127.3 kB / 0.6287 GB, free: 200 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.1645, allocations: 12 kB / 0.6287 GB, free: 188 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1647, allocations: 12 kB / 0.6288 GB, free: 176 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.1647, allocations: 48.34 kB / 0.6288 GB, free: 128 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1648, allocations: 16 kB / 0.6288 GB, free: 112 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003/0.1651, allocations: 463.9 kB / 0.6293 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.1651, allocations: 0 / 0.6293 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005165/0.1656, allocations: 275.5 kB / 0.6295 GB, free: 15.38 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002747/0.1659, allocations: 234.6 kB / 0.6297 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004812/0.1663, allocations: 488.1 kB / 0.6302 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1663, allocations: 0 / 0.6302 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.1666, allocations: 389.7 kB / 0.6306 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.1675, allocations: 356.2 kB / 0.6309 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1695, allocations: 1.62 MB / 0.6325 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.1696, allocations: 183.5 kB / 0.6327 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002851/0.1699, allocations: 146.3 kB / 0.6328 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/0.1703, allocations: 330 kB / 0.6331 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.1703, allocations: 3.938 kB / 0.6331 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of Templates: time 0.2222/0.3925, allocations: 16.01 MB / 0.6488 GB, free: 49.66 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_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: 4.226531852968037]