Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001462, allocations: 186.7 kB / 15.76 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7781/0.7781, allocations: 82.93 MB / 99.42 MB, free: 3.281 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 325.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001021, allocations: 78.94 kB / 393.6 MB, free: 88 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004593, allocations: 12 kB / 471.5 MB, free: 66.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09049, allocations: 67.46 MB / 0.5263 GB, free: 15.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02604/0.1166, allocations: 17.45 MB / 0.5434 GB, free: 13.72 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00928/0.1259, allocations: 4.633 MB / 0.5479 GB, free: 9.082 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007937/0.1267, allocations: 19.88 kB / 0.5479 GB, free: 9.062 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1278, allocations: 298.5 kB / 0.5482 GB, free: 8.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.1308, allocations: 0.7946 MB / 0.549 GB, free: 7.973 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003733/0.1346, allocations: 0.9017 MB / 0.5499 GB, free: 7.086 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.137, allocations: 1.028 MB / 0.5509 GB, free: 6.051 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008392/0.1378, allocations: 410.8 kB / 0.5513 GB, free: 5.641 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.1392, allocations: 0.5334 MB / 0.5518 GB, free: 5.105 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.1399, allocations: 338.5 kB / 0.5521 GB, free: 4.773 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.14, allocations: 20 kB / 0.5521 GB, free: 4.754 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.1422, allocations: 0.8269 MB / 0.5529 GB, free: 3.926 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.1425, allocations: 119.5 kB / 0.5531 GB, free: 3.809 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.1428, allocations: 137.4 kB / 0.5532 GB, free: 3.668 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.1444, allocations: 0.7795 MB / 0.554 GB, free: 2.887 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.1444, allocations: 0 / 0.554 GB, free: 2.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.8e-06/0.1444, allocations: 0 / 0.554 GB, free: 2.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1444, allocations: 0 / 0.554 GB, free: 2.887 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001852/0.1463, allocations: 0.913 MB / 0.5548 GB, free: 1.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1464, allocations: 8.031 kB / 0.5548 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.1475, allocations: 195.1 kB / 0.555 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.1487, allocations: 0.491 MB / 0.5555 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.1491, allocations: 104.9 kB / 0.5556 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.1493, allocations: 36 kB / 0.5556 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.1506, allocations: 499.9 kB / 0.5561 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.1507, allocations: 8 kB / 0.5561 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.1507, allocations: 19.95 kB / 0.5562 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.1508, allocations: 8 kB / 0.5562 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.1522, allocations: 426.6 kB / 0.5566 GB, free: 92 kB / 394.7 MB 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.00444/0.1567, allocations: 2.328 MB / 0.5588 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.1581, allocations: 398.9 kB / 0.5592 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003955/0.1585, allocations: 336.6 kB / 0.5595 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008741/0.1594, allocations: 320.3 kB / 0.5598 GB, free: 12.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.866e-06/0.1594, allocations: 0 / 0.5598 GB, free: 12.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.003109/0.1626, allocations: 0.9526 MB / 0.5608 GB, free: 11.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.1627, allocations: 89.11 kB / 0.5609 GB, free: 11.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/0.1635, allocations: 0.4911 MB / 0.5613 GB, free: 10.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.1636, allocations: 33.7 kB / 0.5614 GB, free: 10.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.164, allocations: 276.4 kB / 0.5616 GB, free: 10.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.1641, allocations: 106.5 kB / 0.5617 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.1642, allocations: 8 kB / 0.5617 GB, free: 10.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.1644, allocations: 370.7 kB / 0.5621 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006556/0.1651, allocations: 179.8 kB / 0.5623 GB, free: 9.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/0.1658, allocations: 269.1 kB / 0.5625 GB, free: 9.535 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.1665, allocations: 221.6 kB / 0.5627 GB, free: 9.312 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.497e-06/0.1665, allocations: 0 / 0.5627 GB, free: 9.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002046/0.1686, allocations: 0.6359 MB / 0.5634 GB, free: 8.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.169, allocations: 0.6529 MB / 0.564 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1691, allocations: 4 kB / 0.564 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.1695, allocations: 68.8 kB / 0.5641 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.17, allocations: 83.89 kB / 0.5641 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006812/0.1707, allocations: 0.5876 MB / 0.5647 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007537/0.1715, allocations: 83.61 kB / 0.5648 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/0.1716, allocations: 19.98 kB / 0.5648 GB, free: 7.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1716, allocations: 6.031 kB / 0.5648 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001753/0.1734, allocations: 0.5605 MB / 0.5654 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.6e-06/0.1734, allocations: 4 kB / 0.5654 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.1737, allocations: 44.83 kB / 0.5654 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.1742, allocations: 83.98 kB / 0.5655 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.1764, allocations: 1.642 MB / 0.5671 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007466/0.1772, allocations: 79.73 kB / 0.5672 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/0.1772, allocations: 19.98 kB / 0.5672 GB, free: 4.492 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005/0.1778, allocations: 295.2 kB / 0.5675 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.1779, allocations: 63.25 kB / 0.5675 GB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.1799, allocations: 0.6573 MB / 0.5682 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.18, allocations: 11.92 kB / 0.5682 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.269e-06/0.18, allocations: 0 / 0.5682 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001824/0.1818, allocations: 0.8173 MB / 0.569 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.1851, allocations: 1.319 MB / 0.5703 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.181e-06/0.1852, allocations: 4.094 kB / 0.5703 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.1857, allocations: 71.88 kB / 0.5704 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.1859, allocations: 44.78 kB / 0.5704 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.186, allocations: 15.98 kB / 0.5704 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005628/0.1865, allocations: 0.5835 MB / 0.571 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.244e-06/0.1866, allocations: 0 / 0.571 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.1893, allocations: 1.036 MB / 0.572 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/0.1898, allocations: 200.2 kB / 0.5722 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.1899, allocations: 8 kB / 0.5722 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.1907, allocations: 64 kB / 0.5723 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.1908, allocations: 19.97 kB / 0.5723 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.1909, allocations: 23.98 kB / 0.5723 GB, free: 14.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006065/0.1915, allocations: 358.8 kB / 0.5726 GB, free: 14.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.74e-07/0.1915, allocations: 0 / 0.5726 GB, free: 14.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001447/0.1929, allocations: 343.4 kB / 0.573 GB, free: 14.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000806/0.1938, allocations: 304.2 kB / 0.5733 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.1966, allocations: 0.9901 MB / 0.5742 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.217e-06/0.1967, allocations: 0 / 0.5742 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000903/0.1976, allocations: 339.4 kB / 0.5745 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.1992, allocations: 238.8 kB / 0.5748 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.2023, allocations: 1.351 MB / 0.5761 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.203, allocations: 0.8901 MB / 0.577 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008019/0.2038, allocations: 132.2 kB / 0.5771 GB, free: 9.961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.204, allocations: 51.41 kB / 0.5771 GB, free: 9.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.445e-06/0.204, allocations: 0 / 0.5771 GB, free: 9.91 MB / 426.7 MB Notification: Performance of Templates: time 0.3193/0.5233, allocations: 10.92 MB / 0.5878 GB, free: 62 MB / 426.7 MB