Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.689/2.689, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 172.9 kB / 360.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 90.3 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.434e-05/2.446e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7907, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/2.115, allocations: 420.8 MB / 1.374 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/2.115, allocations: 95.39 kB / 1.374 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 12.1/14.21, allocations: 2.261 GB / 3.635 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.994e-06/14.21, allocations: 0 / 3.635 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001848/14.22, allocations: 255.4 kB / 3.635 GB, free: 105.4 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04024/14.26, allocations: 7.306 MB / 3.642 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/14.26, allocations: 7.844 kB / 3.642 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/14.27, allocations: 1.232 MB / 3.644 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04804/14.32, allocations: 12.53 MB / 3.656 GB, free: 98.12 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/14.32, allocations: 180.4 kB / 3.656 GB, free: 98.12 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003337/14.32, allocations: 356.2 kB / 3.656 GB, free: 98.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03896/14.36, allocations: 17.77 MB / 3.674 GB, free: 92.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03671/14.4, allocations: 12.54 MB / 3.686 GB, free: 86.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003382/14.4, allocations: 23.55 kB / 3.686 GB, free: 86.07 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002951/14.4, allocations: 11.56 kB / 3.686 GB, free: 86.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/14.4, allocations: 135.9 kB / 3.686 GB, free: 86.07 MB / 0.9636 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.1397/14.54, allocations: 54.55 MB / 3.739 GB, free: 33.96 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/14.56, allocations: 8.647 MB / 3.748 GB, free: 25.31 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01723/14.57, allocations: 9.191 MB / 3.757 GB, free: 16.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08097/14.65, allocations: 26.3 MB / 3.782 GB, free: 5.523 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.8299/15.48, allocations: 7.21 MB / 3.789 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09802/15.58, allocations: 21.05 MB / 3.81 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 4.569e-05/15.58, allocations: 0 / 3.81 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.05595/15.64, allocations: 15.04 MB / 3.825 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/15.64, allocations: 91.55 kB / 3.825 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02/15.66, allocations: 6.394 MB / 3.831 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002721/15.66, allocations: 31.7 kB / 3.831 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.006453/15.67, allocations: 3.985 MB / 3.835 GB, free: 128 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003921/15.67, allocations: 1.047 MB / 3.836 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002431/15.67, allocations: 0 / 3.836 GB, free: 127.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005159/15.67, allocations: 492.6 kB / 3.836 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01451/15.69, allocations: 6.02 MB / 3.842 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01795/15.71, allocations: 7.801 MB / 3.85 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02696/15.73, allocations: 7.55 MB / 3.857 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/15.73, allocations: 14.23 kB / 3.857 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.06167/15.8, allocations: 16.58 MB / 3.874 GB, free: 124.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005494/15.8, allocations: 24.55 MB / 3.898 GB, free: 98.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002462/15.8, allocations: 52.44 kB / 3.898 GB, free: 98.29 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00753/15.81, allocations: 1.547 MB / 3.899 GB, free: 98.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01619/15.83, allocations: 1.599 MB / 3.901 GB, free: 98.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/15.85, allocations: 6.947 MB / 3.907 GB, free: 95.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01886/15.87, allocations: 0.5048 MB / 3.908 GB, free: 95.13 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003578/15.87, allocations: 0.54 MB / 3.908 GB, free: 95.13 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/15.87, allocations: 7.5 kB / 3.908 GB, free: 95.13 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05388/15.92, allocations: 15.74 MB / 3.924 GB, free: 94.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002009/15.92, allocations: 45.12 kB / 3.924 GB, free: 94.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007329/15.93, allocations: 1.434 MB / 3.925 GB, free: 94.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01627/15.95, allocations: 1.598 MB / 3.927 GB, free: 94.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02946/15.98, allocations: 10.51 MB / 3.937 GB, free: 90.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01835/16, allocations: 489.3 kB / 3.938 GB, free: 89.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003561/16, allocations: 0.5332 MB / 3.938 GB, free: 89.96 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004964/16.01, allocations: 260.6 kB / 3.938 GB, free: 89.85 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004899/16.01, allocations: 0.6907 MB / 3.939 GB, free: 89.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05121/16.06, allocations: 13.75 MB / 3.952 GB, free: 88.95 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.247e-05/16.06, allocations: 39.09 kB / 3.952 GB, free: 88.95 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/16.06, allocations: 0 / 3.952 GB, free: 88.95 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03175/16.09, allocations: 10.46 MB / 3.963 GB, free: 88.42 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06558/16.16, allocations: 23.5 MB / 3.986 GB, free: 85.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/16.16, allocations: 3.969 kB / 3.986 GB, free: 85.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009985/16.17, allocations: 0.6985 MB / 3.986 GB, free: 85.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003034/16.17, allocations: 0.7025 MB / 3.987 GB, free: 85.12 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001344/16.17, allocations: 59.42 kB / 3.987 GB, free: 85.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/16.19, allocations: 5.008 MB / 3.992 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/16.19, allocations: 3 kB / 3.992 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04864/16.24, allocations: 18.47 MB / 4.01 GB, free: 74.47 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009348/16.25, allocations: 1.927 MB / 4.012 GB, free: 73.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00399/16.25, allocations: 18.05 kB / 4.012 GB, free: 73.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01291/16.26, allocations: 359.4 kB / 4.012 GB, free: 73.55 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/16.26, allocations: 223.7 kB / 4.012 GB, free: 73.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001248/16.27, allocations: 157.2 kB / 4.013 GB, free: 73.5 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0131/16.28, allocations: 4.853 MB / 4.017 GB, free: 71.88 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.51e-07/16.28, allocations: 0 / 4.017 GB, free: 71.88 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.03536/16.31, allocations: 5.013 MB / 4.022 GB, free: 71.55 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0042/16.32, allocations: 1.176 MB / 4.023 GB, free: 71.22 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.07456/16.39, allocations: 23.05 MB / 4.046 GB, free: 61.54 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.028e-05/16.39, allocations: 3.656 kB / 4.046 GB, free: 61.54 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01839/16.41, allocations: 6.001 MB / 4.052 GB, free: 58.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04365/16.45, allocations: 4.012 MB / 4.056 GB, free: 57.71 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04567/16.5, allocations: 16.77 MB / 4.072 GB, free: 49.66 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009268/16.51, allocations: 5.372 MB / 4.077 GB, free: 45.75 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.04388/16.55, allocations: 7.25 MB / 4.084 GB, free: 40.57 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00767/16.56, allocations: 0.7507 MB / 4.085 GB, free: 40.05 MB / 0.9792 GB Notification: Performance of SimCode: time 1.432e-06/16.56, allocations: 0 / 4.085 GB, free: 40.05 MB / 0.9792 GB Notification: Performance of Templates: time 1.242/17.8, allocations: 198.3 MB / 4.279 GB, free: 132.7 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)