Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7448/0.7448, allocations: 128.7 MB / 144.5 MB, free: 1.379 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 193.6 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205 MB / 408.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009564/0.0009562, allocations: 89.92 kB / 485.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 53.66 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1342, allocations: 75.47 MB / 0.6317 GB, free: 33.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02175/0.156, allocations: 25.82 MB / 0.6569 GB, free: 7.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006333/0.1624, allocations: 5.396 MB / 0.6622 GB, free: 1.75 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.1634, allocations: 23.88 kB / 0.6622 GB, free: 1.727 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009602/0.1645, allocations: 282.4 kB / 0.6625 GB, free: 1.449 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.1666, allocations: 0.86 MB / 0.6633 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.1686, allocations: 0.7358 MB / 0.664 GB, free: 15.86 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.1713, allocations: 2.384 MB / 0.6663 GB, free: 13.46 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.1722, allocations: 432.8 kB / 0.6668 GB, free: 13.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.1735, allocations: 0.6107 MB / 0.6673 GB, free: 12.42 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008983/0.1744, allocations: 0.494 MB / 0.6678 GB, free: 11.92 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1745, allocations: 28 kB / 0.6679 GB, free: 11.89 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.1766, allocations: 1.076 MB / 0.6689 GB, free: 10.82 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.1769, allocations: 127.4 kB / 0.669 GB, free: 10.69 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.1774, allocations: 302.3 kB / 0.6693 GB, free: 10.39 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.1796, allocations: 1.188 MB / 0.6705 GB, free: 9.203 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1796, allocations: 4 kB / 0.6705 GB, free: 9.199 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1796, allocations: 0 / 0.6705 GB, free: 9.199 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.1796, allocations: 0 / 0.6705 GB, free: 9.199 MB / 458.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.001965/0.1816, allocations: 1.025 MB / 0.6715 GB, free: 8.117 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1816, allocations: 8.031 kB / 0.6715 GB, free: 8.109 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008831/0.1825, allocations: 184 kB / 0.6717 GB, free: 7.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.1835, allocations: 0.5164 MB / 0.6722 GB, free: 7.375 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.1838, allocations: 84.94 kB / 0.6723 GB, free: 7.289 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.1839, allocations: 47.84 kB / 0.6723 GB, free: 7.242 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.1854, allocations: 0.5741 MB / 0.6729 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1855, allocations: 0 / 0.6729 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.1855, allocations: 16 kB / 0.6729 GB, free: 6.629 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.1855, allocations: 12 kB / 0.6729 GB, free: 6.617 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.1871, allocations: 0.4985 MB / 0.6734 GB, free: 6.117 MB / 458.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.002604/0.1898, allocations: 2.288 MB / 0.6756 GB, free: 3.605 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.1914, allocations: 458.3 kB / 0.676 GB, free: 3.148 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.1919, allocations: 208.7 kB / 0.6762 GB, free: 2.941 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.1922, allocations: 344.4 kB / 0.6766 GB, free: 2.531 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.1934, allocations: 376.8 kB / 0.6769 GB, free: 2.145 MB / 458.7 MB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.1934, allocations: 0 / 0.6769 GB, free: 2.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=30): time 0.006172/0.1995, allocations: 1.368 MB / 0.6783 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.1996, allocations: 85.11 kB / 0.6783 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.2002, allocations: 499 kB / 0.6788 GB, free: 148 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.2002, allocations: 33.7 kB / 0.6789 GB, free: 108 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.2005, allocations: 295.9 kB / 0.6791 GB, free: 15.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.059e-05/0.2006, allocations: 94.59 kB / 0.6792 GB, free: 15.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.2007, allocations: 73.59 kB / 0.6793 GB, free: 15.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2008, allocations: 370.7 kB / 0.6796 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.2015, allocations: 208.6 kB / 0.6798 GB, free: 15.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.2021, allocations: 297.9 kB / 0.6801 GB, free: 14.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.2034, allocations: 0.5108 MB / 0.6806 GB, free: 14.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.2034, allocations: 0 / 0.6806 GB, free: 14.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.004538/0.2079, allocations: 1.024 MB / 0.6816 GB, free: 13.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/0.208, allocations: 41.69 kB / 0.6817 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.208, allocations: 3.938 kB / 0.6817 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.2085, allocations: 116.9 kB / 0.6818 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.2089, allocations: 79.88 kB / 0.6819 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/0.2167, allocations: 2.64 MB / 0.6844 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.2174, allocations: 99.47 kB / 0.6845 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.2175, allocations: 15.98 kB / 0.6846 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006373/0.2181, allocations: 308 kB / 0.6848 GB, free: 9.703 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005417/0.2187, allocations: 262 kB / 0.6851 GB, free: 9.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00093/0.2196, allocations: 465.9 kB / 0.6855 GB, free: 8.918 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.2196, allocations: 0 / 0.6855 GB, free: 8.918 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001347/0.221, allocations: 0.585 MB / 0.6861 GB, free: 8.316 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.2211, allocations: 39.88 kB / 0.6861 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2211, allocations: 4 kB / 0.6862 GB, free: 8.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.2212, allocations: 60.89 kB / 0.6862 GB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.2216, allocations: 79.88 kB / 0.6863 GB, free: 8.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.223, allocations: 1.635 MB / 0.6879 GB, free: 6.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.2235, allocations: 75.73 kB / 0.688 GB, free: 6.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.2236, allocations: 16 kB / 0.688 GB, free: 6.258 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.2238, allocations: 237.1 kB / 0.6882 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.2239, allocations: 55.34 kB / 0.6882 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.2278, allocations: 0.9587 MB / 0.6892 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.2278, allocations: 8 kB / 0.6892 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2278, allocations: 0 / 0.6892 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0037/0.2315, allocations: 1.118 MB / 0.6903 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.2363, allocations: 1.574 MB / 0.6918 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.2363, allocations: 0 / 0.6918 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.2367, allocations: 63.89 kB / 0.6919 GB, free: 2.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.2371, allocations: 108.8 kB / 0.692 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.2371, allocations: 11.98 kB / 0.692 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006572/0.2437, allocations: 2.36 MB / 0.6943 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.2438, allocations: 8.016 kB / 0.6943 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03128/0.2751, allocations: 8.618 MB / 0.7027 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.2755, allocations: 172.3 kB / 0.7029 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.2756, allocations: 12 kB / 0.7029 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.2763, allocations: 75.98 kB / 0.703 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2764, allocations: 19.91 kB / 0.703 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.2765, allocations: 15.98 kB / 0.703 GB, free: 6.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004847/0.277, allocations: 350.8 kB / 0.7033 GB, free: 5.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.277, allocations: 0 / 0.7033 GB, free: 5.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002526/0.2795, allocations: 0.5657 MB / 0.7039 GB, free: 5.254 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007927/0.2803, allocations: 288 kB / 0.7042 GB, free: 4.973 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003185/0.2835, allocations: 1.204 MB / 0.7053 GB, free: 3.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2836, allocations: 0 / 0.7053 GB, free: 3.719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.285, allocations: 0.5135 MB / 0.7058 GB, free: 3.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.2866, allocations: 248.3 kB / 0.7061 GB, free: 2.938 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.2904, allocations: 1.803 MB / 0.7078 GB, free: 1.074 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.291, allocations: 0.8902 MB / 0.7087 GB, free: 160 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006109/0.2916, allocations: 120.4 kB / 0.7088 GB, free: 36 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.2918, allocations: 51.41 kB / 0.7089 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/0.2918, allocations: 0 / 0.7089 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.02724/0.319, allocations: 16.14 MB / 0.7246 GB, free: 15.94 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)