Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.096/2.096, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001313, allocations: 171 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.304/2.304, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.000887, allocations: 97.78 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004793, allocations: 15.25 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.404, allocations: 397.9 MB / 1.288 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/1.404, allocations: 97.64 kB / 1.288 GB, free: 4.586 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.738/4.142, allocations: 476.7 MB / 1.754 GB, free: 231 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.875e-06/4.142, allocations: 5.812 kB / 1.754 GB, free: 231 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000241/4.142, allocations: 37.97 kB / 1.754 GB, free: 231 MB / 0.8855 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.007659/4.15, allocations: 1.96 MB / 1.756 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/4.15, allocations: 9.094 kB / 1.756 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/4.152, allocations: 239.3 kB / 1.756 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007891/4.16, allocations: 1.885 MB / 1.758 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/4.16, allocations: 65 kB / 1.758 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/4.16, allocations: 88.06 kB / 1.758 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/4.163, allocations: 0.9679 MB / 1.759 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/4.163, allocations: 5.375 kB / 1.759 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/4.163, allocations: 31.5 kB / 1.759 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/4.163, allocations: 18.81 kB / 1.759 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/4.166, allocations: 0.7126 MB / 1.76 GB, free: 229.7 MB / 0.8855 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.009488/4.176, allocations: 4.718 MB / 1.764 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/4.178, allocations: 0.5963 MB / 1.765 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/4.179, allocations: 324.2 kB / 1.765 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004614/4.184, allocations: 1.688 MB / 1.767 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/4.185, allocations: 341.3 kB / 1.767 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001005/4.186, allocations: 107.7 kB / 1.767 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 3.978e-06/4.186, allocations: 1.156 kB / 1.767 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.005492/4.192, allocations: 1.171 MB / 1.768 GB, free: 226 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/4.192, allocations: 63.56 kB / 1.768 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/4.194, allocations: 1.241 MB / 1.77 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002177/4.195, allocations: 40.3 kB / 1.77 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008004/4.195, allocations: 0.649 MB / 1.77 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/4.196, allocations: 163.4 kB / 1.77 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/4.196, allocations: 14.59 kB / 1.77 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/4.196, allocations: 332.6 kB / 1.771 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009812/4.197, allocations: 237.8 kB / 1.771 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/4.198, allocations: 0.5791 MB / 1.771 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/4.199, allocations: 351.5 kB / 1.772 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/4.199, allocations: 6.562 kB / 1.772 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004158/4.203, allocations: 1.043 MB / 1.773 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002791/4.204, allocations: 342.2 kB / 1.773 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/4.204, allocations: 7.688 kB / 1.773 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/4.205, allocations: 190.5 kB / 1.773 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/4.206, allocations: 145.8 kB / 1.774 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/4.207, allocations: 0.7677 MB / 1.774 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/4.209, allocations: 78.19 kB / 1.774 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/4.21, allocations: 47.36 kB / 1.774 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/4.21, allocations: 4.25 kB / 1.774 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002858/4.213, allocations: 0.9094 MB / 1.775 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/4.213, allocations: 10.53 kB / 1.775 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003521/4.213, allocations: 107 kB / 1.775 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/4.214, allocations: 144.2 kB / 1.776 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/4.217, allocations: 2.199 MB / 1.778 GB, free: 222 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/4.219, allocations: 80.78 kB / 1.778 GB, free: 222 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/4.219, allocations: 36.11 kB / 1.778 GB, free: 222 MB / 0.8855 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 () * Number of clocked 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.001077/4.22, allocations: 481.7 kB / 1.778 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/4.22, allocations: 131.6 kB / 1.778 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/4.223, allocations: 0.8852 MB / 1.779 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/4.223, allocations: 4.203 kB / 1.779 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/4.223, allocations: 7.984 kB / 1.779 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002169/4.226, allocations: 0.8777 MB / 1.78 GB, free: 221.3 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.005511/4.231, allocations: 1.872 MB / 1.782 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/4.231, allocations: 2.625 kB / 1.782 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007425/4.232, allocations: 88.05 kB / 1.782 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/4.232, allocations: 127.2 kB / 1.782 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/4.233, allocations: 14.84 kB / 1.782 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008198/4.233, allocations: 0.7524 MB / 1.783 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/4.233, allocations: 1.25 kB / 1.783 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/4.237, allocations: 1.207 MB / 1.784 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/4.238, allocations: 267.2 kB / 1.784 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/4.239, allocations: 10.38 kB / 1.784 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/4.24, allocations: 67.55 kB / 1.784 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/4.24, allocations: 41.03 kB / 1.784 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.44e-05/4.24, allocations: 24.84 kB / 1.784 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00207/4.242, allocations: 0.8584 MB / 1.785 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.21e-07/4.242, allocations: 0 / 1.785 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003407/4.246, allocations: 0.7149 MB / 1.786 GB, free: 219.8 MB / 0.8855 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) * Number of clocked states: 0 () * 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.00188/4.248, allocations: 0.7446 MB / 1.787 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004078/4.252, allocations: 1.312 MB / 1.788 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/4.252, allocations: 6.125 kB / 1.788 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/4.253, allocations: 322.7 kB / 1.788 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004705/4.258, allocations: 0.5708 MB / 1.789 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0055/4.263, allocations: 2.683 MB / 1.791 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/4.264, allocations: 1.272 MB / 1.793 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002014/4.266, allocations: 304.7 kB / 1.793 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/4.267, allocations: 100.8 kB / 1.793 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/4.267, allocations: 0 / 1.793 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.06817/4.335, allocations: 27.37 MB / 1.82 GB, free: 216.2 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)