Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001007/0.001007, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002412, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00106/0.00106, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002441, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9653/0.9653, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08763/1.053, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.877/1.877, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5043/2.381, allocations: 127.1 MB / 0.7435 GB, free: 4.547 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.191e-05, allocations: 9.188 kB / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1287/0.1288, allocations: 153.3 MB / 0.8945 GB, free: 9.559 MB / 0.8699 GB Notification: Performance of NFInst.instExpressions: time 0.006943/0.1357, allocations: 4.891 MB / 0.8993 GB, free: 4.656 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.1368, allocations: 59.44 kB / 0.8994 GB, free: 4.598 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.0008805/0.1377, allocations: 436.8 kB / 0.8998 GB, free: 4.168 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.1397, allocations: 1.232 MB / 0.901 GB, free: 2.93 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.1417, allocations: 1.436 MB / 0.9024 GB, free: 1.496 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.002837/0.1445, allocations: 2.83 MB / 0.9052 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.1459, allocations: 0.7856 MB / 0.9059 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.1479, allocations: 1.565 MB / 0.9075 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008505/0.1488, allocations: 0.6386 MB / 0.9081 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.1489, allocations: 103.9 kB / 0.9082 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.15, allocations: 0.7407 MB / 0.9089 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.1503, allocations: 319 kB / 0.9092 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.1506, allocations: 323.3 kB / 0.9095 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.1518, allocations: 1.215 MB / 0.9107 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.1518, allocations: 0 / 0.9107 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1518, allocations: 0 / 0.9107 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.1518, allocations: 0 / 0.9107 GB, free: 9.039 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001872/0.1537, allocations: 1.755 MB / 0.9124 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.1537, allocations: 12.03 kB / 0.9124 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.1548, allocations: 483.9 kB / 0.9129 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008389/0.1556, allocations: 0.6731 MB / 0.9135 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.1556, allocations: 53.44 kB / 0.9136 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.1557, allocations: 75.98 kB / 0.9137 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.1565, allocations: 0.7962 MB / 0.9144 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1565, allocations: 4 kB / 0.9144 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.1566, allocations: 24 kB / 0.9145 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.1566, allocations: 33.31 kB / 0.9145 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.157, allocations: 325.5 kB / 0.9148 GB, free: 4.668 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.1592, allocations: 1.936 MB / 0.9167 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.1599, allocations: 348.8 kB / 0.917 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.16, allocations: 156 kB / 0.9172 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1601, allocations: 44.47 kB / 0.9172 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.1605, allocations: 426 kB / 0.9176 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 1.874e-06/0.1605, allocations: 0 / 0.9176 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.0006515/0.1611, allocations: 0.4905 MB / 0.9181 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.1612, allocations: 229.9 kB / 0.9183 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.1617, allocations: 0.6755 MB / 0.919 GB, free: 188 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.1617, allocations: 37.7 kB / 0.919 GB, free: 144 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1619, allocations: 346.5 kB / 0.9194 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/0.162, allocations: 194.3 kB / 0.9195 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.1621, allocations: 130.2 kB / 0.9197 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.1622, allocations: 329.9 kB / 0.92 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1623, allocations: 101.8 kB / 0.9201 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.1626, allocations: 0.5336 MB / 0.9206 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.163, allocations: 404.1 kB / 0.921 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.163, allocations: 4 kB / 0.921 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004633/0.1634, allocations: 422 kB / 0.9214 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.1635, allocations: 41.69 kB / 0.9214 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1635, allocations: 4 kB / 0.9214 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1635, allocations: 4.344 kB / 0.9214 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.1639, allocations: 179.7 kB / 0.9216 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1639, allocations: 11.94 kB / 0.9216 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.1643, allocations: 143.5 kB / 0.9218 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.1643, allocations: 27.97 kB / 0.9218 GB, free: 13.07 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.1645, allocations: 193 kB / 0.922 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/0.1646, allocations: 75.92 kB / 0.922 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.1651, allocations: 454.4 kB / 0.9225 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1651, allocations: 8.516 kB / 0.9225 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1651, allocations: 7.938 kB / 0.9225 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1651, allocations: 3.984 kB / 0.9225 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.1671, allocations: 1.658 MB / 0.9241 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1671, allocations: 8 kB / 0.9241 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.1674, allocations: 127.9 kB / 0.9242 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.1676, allocations: 163.1 kB / 0.9244 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.1676, allocations: 8 kB / 0.9244 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.1676, allocations: 27.98 kB / 0.9244 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.1676, allocations: 11.94 kB / 0.9244 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.1676, allocations: 11.94 kB / 0.9245 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.1682, allocations: 0.9235 MB / 0.9254 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.1683, allocations: 23.98 kB / 0.9254 GB, free: 9.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.1687, allocations: 63.95 kB / 0.9254 GB, free: 8.977 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.1687, allocations: 63.73 kB / 0.9255 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.1688, allocations: 27.98 kB / 0.9255 GB, free: 8.887 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000237/0.169, allocations: 324.4 kB / 0.9258 GB, free: 8.57 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.169, allocations: 0 / 0.9258 GB, free: 8.57 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006262/0.1696, allocations: 295.4 kB / 0.9261 GB, free: 8.281 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003142/0.17, allocations: 195 kB / 0.9263 GB, free: 8.086 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004886/0.1704, allocations: 443.9 kB / 0.9267 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/0.1705, allocations: 24.95 kB / 0.9268 GB, free: 7.602 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.1708, allocations: 381.7 kB / 0.9271 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.1721, allocations: 1.61 MB / 0.9287 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.1782, allocations: 1.837 MB / 0.9305 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.1783, allocations: 208.1 kB / 0.9307 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000461/0.1788, allocations: 139.4 kB / 0.9308 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/0.1794, allocations: 327 kB / 0.9311 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of SimCode: time 1.563e-06/0.1794, allocations: 0 / 0.9311 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of Templates: time 0.02036/0.1998, allocations: 17.93 MB / 0.9486 GB, free: 1.082 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.315261818468571]