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.0007814/0.0007814, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008954/0.001677, allocations: 449.7 kB / 10.37 MB, free: 328 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.000709/0.000709, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008865/0.001595, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.902/0.902, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08173/0.9837, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.912/1.912, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4484/2.361, allocations: 127.1 MB / 0.7432 GB, free: 4.625 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.482e-06/1.482e-06, allocations: 0 / 0.7445 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.183e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1331/0.1331, allocations: 153.3 MB / 0.8942 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006471/0.1396, allocations: 4.887 MB / 0.899 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.1402, allocations: 63.44 kB / 0.899 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.1409, allocations: 424.8 kB / 0.8994 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.1431, allocations: 1.239 MB / 0.9006 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.145, allocations: 1.445 MB / 0.9021 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002553/0.1476, allocations: 2.83 MB / 0.9048 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.1487, allocations: 0.7885 MB / 0.9056 GB, free: 14 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.1504, allocations: 1.609 MB / 0.9072 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008451/0.1513, allocations: 0.6347 MB / 0.9078 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.1514, allocations: 100 kB / 0.9079 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1524, allocations: 0.7445 MB / 0.9086 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.1527, allocations: 323 kB / 0.9089 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.153, allocations: 319.3 kB / 0.9092 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1541, allocations: 1.215 MB / 0.9104 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.1541, allocations: 0 / 0.9104 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1541, allocations: 4 kB / 0.9104 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.1541, allocations: 0 / 0.9104 GB, free: 9.113 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.001823/0.1559, allocations: 1.751 MB / 0.9121 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.156, allocations: 8.031 kB / 0.9121 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.157, allocations: 483.9 kB / 0.9126 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007409/0.1577, allocations: 0.6771 MB / 0.9132 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.1578, allocations: 57.38 kB / 0.9133 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.1578, allocations: 68 kB / 0.9134 GB, free: 6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/0.1587, allocations: 0.7885 MB / 0.9141 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1587, allocations: 11.92 kB / 0.9142 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.1587, allocations: 28 kB / 0.9142 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.1588, allocations: 37.3 kB / 0.9142 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.1592, allocations: 309.6 kB / 0.9145 GB, free: 4.762 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.002486/0.1617, allocations: 1.947 MB / 0.9164 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.1622, allocations: 346.1 kB / 0.9167 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1623, allocations: 154.8 kB / 0.9169 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.1624, allocations: 48.47 kB / 0.9169 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/0.1628, allocations: 426 kB / 0.9173 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 1.502e-06/0.1628, allocations: 0 / 0.9173 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.0007852/0.1636, allocations: 0.4909 MB / 0.9178 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.1636, allocations: 140.5 kB / 0.918 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.1641, allocations: 0.6755 MB / 0.9186 GB, free: 372 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.1642, allocations: 37.7 kB / 0.9186 GB, free: 328 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1643, allocations: 342.6 kB / 0.919 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1645, allocations: 198.3 kB / 0.9192 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.1646, allocations: 130.1 kB / 0.9193 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.1647, allocations: 333.9 kB / 0.9196 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1648, allocations: 109.8 kB / 0.9197 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.1651, allocations: 0.5206 MB / 0.9202 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.1655, allocations: 383.7 kB / 0.9206 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1655, allocations: 4 kB / 0.9206 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004731/0.166, allocations: 422.4 kB / 0.921 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.166, allocations: 45.69 kB / 0.921 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.166, allocations: 0 / 0.921 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.166, allocations: 8 kB / 0.921 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007629/0.1668, allocations: 179.7 kB / 0.9212 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1668, allocations: 11.75 kB / 0.9212 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.1672, allocations: 143.5 kB / 0.9214 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.1672, allocations: 27.92 kB / 0.9214 GB, free: 13.28 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.0001917/0.1674, allocations: 190.2 kB / 0.9216 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.712e-05/0.1675, allocations: 75.92 kB / 0.9216 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.168, allocations: 453 kB / 0.9221 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.168, allocations: 19.94 kB / 0.9221 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.168, allocations: 3.938 kB / 0.9221 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.168, allocations: 7.984 kB / 0.9221 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.1696, allocations: 1.66 MB / 0.9237 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1696, allocations: 8 kB / 0.9237 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.1699, allocations: 119.8 kB / 0.9238 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.1701, allocations: 175 kB / 0.924 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1701, allocations: 8 kB / 0.924 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.1701, allocations: 20 kB / 0.924 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.1702, allocations: 15.98 kB / 0.9241 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.1702, allocations: 16.12 kB / 0.9241 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.1708, allocations: 0.9186 MB / 0.925 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/0.1708, allocations: 20 kB / 0.925 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.1712, allocations: 67.94 kB / 0.9251 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.1713, allocations: 63.69 kB / 0.9251 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.1713, allocations: 35.97 kB / 0.9251 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002302/0.1715, allocations: 320.5 kB / 0.9255 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.1715, allocations: 0 / 0.9255 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005381/0.1721, allocations: 295.4 kB / 0.9257 GB, free: 8.473 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.0002903/0.1724, allocations: 196 kB / 0.9259 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.1728, allocations: 436.2 kB / 0.9263 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/0.1728, allocations: 19.97 kB / 0.9264 GB, free: 7.805 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.1731, allocations: 268.2 kB / 0.9266 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.174, allocations: 456.4 kB / 0.927 GB, free: 7.078 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006247/0.1803, allocations: 1.844 MB / 0.9289 GB, free: 5.082 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.1804, allocations: 216.1 kB / 0.9291 GB, free: 4.848 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004421/0.1809, allocations: 149.6 kB / 0.9292 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006325/0.1815, allocations: 327 kB / 0.9295 GB, free: 4.383 MB / 0.9011 GB Notification: Performance of SimCode: time 1.252e-06/0.1815, allocations: 0 / 0.9295 GB, free: 4.383 MB / 0.9011 GB Notification: Performance of Templates: time 0.01969/0.2012, allocations: 17.95 MB / 0.947 GB, free: 2.777 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.415168396197259]