Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.9 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008786/0.0008786, allocations: 94.36 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.02e-05, allocations: 4 kB / 0.8517 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.6804, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.737, allocations: 403.6 MB / 1.358 GB, free: 163 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/1.737, allocations: 90.83 kB / 1.359 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.577/3.314, allocations: 475.4 MB / 1.823 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.262e-06/3.314, allocations: 0 / 1.823 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002778/3.314, allocations: 42.17 kB / 1.823 GB, free: 143.1 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004938/3.319, allocations: 1.517 MB / 1.824 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/3.319, allocations: 12.03 kB / 1.824 GB, free: 141.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/3.321, allocations: 233.9 kB / 1.825 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005011/3.326, allocations: 1.935 MB / 1.826 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/3.326, allocations: 24 kB / 1.826 GB, free: 139.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/3.326, allocations: 52 kB / 1.827 GB, free: 139.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/3.328, allocations: 0.617 MB / 1.827 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/3.329, allocations: 0.8205 MB / 1.828 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/3.329, allocations: 0 / 1.828 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/3.329, allocations: 4 kB / 1.828 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/3.329, allocations: 19.95 kB / 1.828 GB, free: 137.8 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.005563/3.335, allocations: 4.458 MB / 1.832 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/3.335, allocations: 0.5638 MB / 1.833 GB, free: 132.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/3.336, allocations: 290.1 kB / 1.833 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002523/3.338, allocations: 1.674 MB / 1.835 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003969/3.339, allocations: 298.3 kB / 1.835 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005832/3.339, allocations: 95.45 kB / 1.835 GB, free: 130 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=46): time 2.865e-06/3.339, allocations: 0 / 1.835 GB, free: 130 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46): time 0.001722/3.341, allocations: 0.7058 MB / 1.836 GB, free: 129.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/3.341, allocations: 55.41 kB / 1.836 GB, free: 129.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/3.343, allocations: 0.995 MB / 1.837 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/3.343, allocations: 29.7 kB / 1.837 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/3.343, allocations: 0.6523 MB / 1.838 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/3.343, allocations: 149.8 kB / 1.838 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/3.343, allocations: 0 / 1.838 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/3.343, allocations: 341.9 kB / 1.838 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/3.344, allocations: 201.5 kB / 1.838 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/3.344, allocations: 0.5322 MB / 1.839 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/3.345, allocations: 342.6 kB / 1.839 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/3.345, allocations: 4 kB / 1.839 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001833/3.347, allocations: 0.928 MB / 1.84 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007031/3.347, allocations: 3.041 MB / 1.843 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/3.347, allocations: 11.94 kB / 1.843 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/3.348, allocations: 124 kB / 1.843 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/3.348, allocations: 151.7 kB / 1.843 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006113/3.349, allocations: 0.7864 MB / 1.844 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000999/3.35, allocations: 67.8 kB / 1.844 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/3.35, allocations: 40.05 kB / 1.844 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/3.35, allocations: 4 kB / 1.844 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/3.352, allocations: 0.7824 MB / 1.845 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/3.352, allocations: 11.94 kB / 1.845 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/3.352, allocations: 105.2 kB / 1.845 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/3.352, allocations: 139.8 kB / 1.845 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/3.354, allocations: 2.108 MB / 1.847 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008938/3.355, allocations: 71.84 kB / 1.847 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-05/3.355, allocations: 36 kB / 1.847 GB, free: 117.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002199/3.355, allocations: 128.7 kB / 1.847 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/3.355, allocations: 122.5 kB / 1.847 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/3.357, allocations: 0.8058 MB / 1.848 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/3.357, allocations: 8 kB / 1.848 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/3.357, allocations: 0 / 1.848 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009921/3.358, allocations: 0.8038 MB / 1.849 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/3.361, allocations: 1.686 MB / 1.851 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/3.361, allocations: 4 kB / 1.851 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/3.362, allocations: 87.88 kB / 1.851 GB, free: 113.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/3.362, allocations: 100.9 kB / 1.851 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/3.362, allocations: 11.98 kB / 1.851 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004711/3.362, allocations: 0.7519 MB / 1.852 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/3.362, allocations: 0 / 1.852 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/3.364, allocations: 1.117 MB / 1.853 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/3.365, allocations: 263.5 kB / 1.853 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/3.365, allocations: 3.953 kB / 1.853 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007983/3.366, allocations: 63.78 kB / 1.853 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/3.366, allocations: 36.38 kB / 1.853 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/3.366, allocations: 23.98 kB / 1.853 GB, free: 110.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001105/3.367, allocations: 0.7631 MB / 1.854 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/3.367, allocations: 0 / 1.854 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002732/3.37, allocations: 0.694 MB / 1.855 GB, free: 109.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/3.371, allocations: 0.7388 MB / 1.855 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002015/3.373, allocations: 1.208 MB / 1.856 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/3.373, allocations: 0 / 1.856 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004962/3.374, allocations: 290.6 kB / 1.857 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/3.376, allocations: 0.4968 MB / 1.857 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/3.379, allocations: 1.667 MB / 1.859 GB, free: 105 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008762/3.38, allocations: 1.308 MB / 1.86 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002054/3.382, allocations: 0.5439 MB / 1.861 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/3.383, allocations: 83.34 kB / 1.861 GB, free: 103 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/3.383, allocations: 4 kB / 1.861 GB, free: 103 MB / 0.9323 GB Notification: Performance of Templates: time 0.044/3.427, allocations: 25.74 MB / 1.886 GB, free: 77.57 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)