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.001006/0.001006, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001799/0.001799, allocations: 161 kB / 24.16 MB, free: 336 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 1.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.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.841/1.841, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 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 2.194e-06/2.194e-06, allocations: 0.6562 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.92e-05, allocations: 3.875 kB / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1429/0.1429, allocations: 152.8 MB / 0.9244 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00822/0.1512, allocations: 4.879 MB / 0.9291 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1523, allocations: 59.44 kB / 0.9292 GB, free: 7.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000863/0.1532, allocations: 412.9 kB / 0.9296 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.1554, allocations: 1.247 MB / 0.9308 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.1576, allocations: 1.486 MB / 0.9323 GB, free: 4.125 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002822/0.1604, allocations: 2.856 MB / 0.9351 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008734/0.1613, allocations: 0.7049 MB / 0.9357 GB, free: 0.543 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.1634, allocations: 1.485 MB / 0.9372 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009684/0.1644, allocations: 0.6347 MB / 0.9378 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.1646, allocations: 96 kB / 0.9379 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.1657, allocations: 0.7172 MB / 0.9386 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.166, allocations: 390.7 kB / 0.939 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.1664, allocations: 387 kB / 0.9393 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.1682, allocations: 1.363 MB / 0.9407 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1682, allocations: 0 / 0.9407 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.495e-06/0.1682, allocations: 0 / 0.9407 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.1682, allocations: 0 / 0.9407 GB, free: 11.53 MB / 0.9011 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.001913/0.1701, allocations: 1.425 MB / 0.9421 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1701, allocations: 9.344 kB / 0.9421 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1713, allocations: 476.1 kB / 0.9425 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008519/0.1721, allocations: 0.6771 MB / 0.9432 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.1722, allocations: 53.44 kB / 0.9432 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.1723, allocations: 68 kB / 0.9433 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009273/0.1732, allocations: 0.8001 MB / 0.9441 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1732, allocations: 0 / 0.9441 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/0.1733, allocations: 28 kB / 0.9441 GB, free: 7.879 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.1733, allocations: 29.3 kB / 0.9441 GB, free: 7.852 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.1738, allocations: 317.5 kB / 0.9445 GB, free: 7.531 MB / 0.9011 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.002598/0.1764, allocations: 1.943 MB / 0.9463 GB, free: 5.543 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/0.1769, allocations: 346.5 kB / 0.9467 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.177, allocations: 150.8 kB / 0.9468 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.1772, allocations: 44.47 kB / 0.9469 GB, free: 4.984 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003378/0.1775, allocations: 406.1 kB / 0.9473 GB, free: 4.531 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=57): time 1.944e-06/0.1775, allocations: 7.938 kB / 0.9473 GB, free: 4.523 MB / 0.9011 GB Notification: Performance of matching and sorting (n=57): time 0.0008019/0.1783, allocations: 494.7 kB / 0.9477 GB, free: 4.012 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.1784, allocations: 140.8 kB / 0.9479 GB, free: 3.844 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.1789, allocations: 0.6755 MB / 0.9485 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.1789, allocations: 41.7 kB / 0.9486 GB, free: 3.105 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.1791, allocations: 346.4 kB / 0.9489 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.1792, allocations: 194.3 kB / 0.9491 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.1794, allocations: 126.2 kB / 0.9492 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.1794, allocations: 329.9 kB / 0.9495 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.1796, allocations: 105.8 kB / 0.9496 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.1799, allocations: 0.5167 MB / 0.9501 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.1802, allocations: 391.3 kB / 0.9505 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.1802, allocations: 4 kB / 0.9505 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006435/0.1809, allocations: 414.1 kB / 0.9509 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.1809, allocations: 52.28 kB / 0.9509 GB, free: 452 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.1809, allocations: 0 / 0.9509 GB, free: 452 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1809, allocations: 8 kB / 0.951 GB, free: 444 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.1813, allocations: 148 kB / 0.9511 GB, free: 296 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1813, allocations: 15.88 kB / 0.9511 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.1817, allocations: 139.5 kB / 0.9512 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.1818, allocations: 27.97 kB / 0.9513 GB, free: 112 kB / 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.0002247/0.182, allocations: 194.2 kB / 0.9515 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-05/0.1821, allocations: 75.92 kB / 0.9515 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.1826, allocations: 447.1 kB / 0.952 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1826, allocations: 8 kB / 0.952 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1826, allocations: 3.938 kB / 0.952 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1826, allocations: 3.984 kB / 0.952 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.1843, allocations: 1.651 MB / 0.9536 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.1843, allocations: 8 kB / 0.9536 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.1845, allocations: 112.5 kB / 0.9537 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.1845, allocations: 12 kB / 0.9537 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.1846, allocations: 27.98 kB / 0.9537 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.1846, allocations: 11.94 kB / 0.9537 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.1846, allocations: 8 kB / 0.9538 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.1852, allocations: 0.9235 MB / 0.9547 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.1854, allocations: 159.1 kB / 0.9548 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/0.1855, allocations: 23.98 kB / 0.9548 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.1859, allocations: 63.95 kB / 0.9549 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.186, allocations: 67.67 kB / 0.955 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.186, allocations: 31.97 kB / 0.955 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002365/0.1862, allocations: 320.5 kB / 0.9553 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1862, allocations: 0 / 0.9553 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006532/0.1869, allocations: 287.4 kB / 0.9556 GB, free: 11.36 MB / 0.9167 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.0003231/0.1872, allocations: 211.5 kB / 0.9558 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.1877, allocations: 435.2 kB / 0.9562 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.1877, allocations: 12 kB / 0.9562 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.188, allocations: 267.5 kB / 0.9564 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/0.1889, allocations: 356.8 kB / 0.9568 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.1911, allocations: 1.744 MB / 0.9585 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.1912, allocations: 216.2 kB / 0.9587 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004257/0.1916, allocations: 148.1 kB / 0.9588 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/0.1923, allocations: 330.9 kB / 0.9592 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of SimCode: time 1.282e-06/0.1923, allocations: 0 / 0.9592 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of Templates: time 0.01981/0.2121, allocations: 17.17 MB / 0.9759 GB, free: 6.637 MB / 0.9323 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.369901645928621]